| Modifier and Type | Method and Description |
|---|---|
PutRepositoryRequest |
PutRepositoryRequest.source(BytesReference repositoryDefinition)
Parses repository definition.
|
| Modifier and Type | Method and Description |
|---|---|
ClusterRerouteRequestBuilder |
ClusterRerouteRequestBuilder.setSource(BytesReference source)
Sets the source for the request
|
ClusterRerouteRequest |
ClusterRerouteRequest.source(BytesReference source)
Sets the source for the request.
|
| Modifier and Type | Method and Description |
|---|---|
CreateSnapshotRequest |
CreateSnapshotRequest.source(BytesReference source)
Parses snapshot definition.
|
| Modifier and Type | Method and Description |
|---|---|
RestoreSnapshotRequest |
RestoreSnapshotRequest.source(BytesReference source)
Parses restore definition
|
| Modifier and Type | Method and Description |
|---|---|
BytesReference |
RenderSearchTemplateResponse.source() |
| Modifier and Type | Method and Description |
|---|---|
void |
RenderSearchTemplateResponse.source(BytesReference source) |
| Modifier and Type | Method and Description |
|---|---|
CreateIndexRequest |
CreateIndexRequest.aliases(BytesReference source)
Sets the aliases that will be associated with the index when it gets created
|
CreateIndexRequestBuilder |
CreateIndexRequestBuilder.setAliases(BytesReference source)
Sets the aliases that will be associated with the index when it gets created
|
CreateIndexRequestBuilder |
CreateIndexRequestBuilder.setSource(BytesReference source)
Sets the settings and mappings as a single source.
|
CreateIndexRequest |
CreateIndexRequest.source(BytesReference source)
Sets the settings and mappings as a single source.
|
| Constructor and Description |
|---|
GetFieldMappingsResponse.FieldMappingMetaData(String fullName,
BytesReference source) |
| Modifier and Type | Method and Description |
|---|---|
PutIndexTemplateRequest |
PutIndexTemplateRequest.aliases(BytesReference source)
Sets the aliases that will be associated with the index when it gets created
|
PutIndexTemplateRequestBuilder |
PutIndexTemplateRequestBuilder.setAliases(BytesReference source)
Sets the aliases that will be associated with the index when it gets created
|
PutIndexTemplateRequestBuilder |
PutIndexTemplateRequestBuilder.setSource(BytesReference templateSource)
The template source definition.
|
PutIndexTemplateRequest |
PutIndexTemplateRequest.source(BytesReference source)
The template source definition.
|
| Modifier and Type | Method and Description |
|---|---|
BytesReference |
ShardValidateQueryRequest.source() |
BytesReference |
ValidateQueryRequest.source()
The source to execute.
|
| Modifier and Type | Method and Description |
|---|---|
ValidateQueryRequestBuilder |
ValidateQueryRequestBuilder.setSource(BytesReference source)
The source to validate.
|
ValidateQueryRequest |
ValidateQueryRequest.source(BytesReference source)
The source to validate.
|
| Modifier and Type | Method and Description |
|---|---|
BulkRequest |
BulkRequest.add(BytesReference data,
String defaultIndex,
String defaultType)
Adds a framed data in binary format
|
BulkProcessor |
BulkProcessor.add(BytesReference data,
String defaultIndex,
String defaultType) |
BulkRequest |
BulkRequest.add(BytesReference data,
String defaultIndex,
String defaultType,
boolean allowExplicitIndex)
Adds a framed data in binary format
|
BulkProcessor |
BulkProcessor.add(BytesReference data,
String defaultIndex,
String defaultType,
Object payload) |
BulkRequest |
BulkRequest.add(BytesReference data,
String defaultIndex,
String defaultType,
String defaultRouting,
String[] defaultFields,
Object payload,
boolean allowExplicitIndex) |
| Modifier and Type | Method and Description |
|---|---|
BytesReference |
CountRequest.source()
Deprecated.
The source to execute.
|
| Modifier and Type | Method and Description |
|---|---|
CountRequestBuilder |
CountRequestBuilder.setQuery(BytesReference queryBinary)
Deprecated.
The query binary to execute
|
CountRequestBuilder |
CountRequestBuilder.setSource(BytesReference source)
Deprecated.
The source to execute.
|
CountRequest |
CountRequest.source(BytesReference querySource)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
BytesReference |
ShardExistsRequest.querySource() |
BytesReference |
ExistsRequest.source()
Deprecated.
The source to execute.
|
| Modifier and Type | Method and Description |
|---|---|
ExistsRequestBuilder |
ExistsRequestBuilder.setQuery(BytesReference queryBinary)
Deprecated.
The query binary to execute
|
ExistsRequestBuilder |
ExistsRequestBuilder.setSource(BytesReference source)
Deprecated.
The source to execute.
|
ExistsRequest |
ExistsRequest.source(BytesReference querySource)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
BytesReference |
ExplainRequest.source() |
| Modifier and Type | Method and Description |
|---|---|
ExplainRequestBuilder |
ExplainRequestBuilder.setQuery(BytesReference query)
Sets the query to get a score explanation for.
|
ExplainRequestBuilder |
ExplainRequestBuilder.setSource(BytesReference source)
Sets the full source of the explain request (for example, wrapping an actual query).
|
ExplainRequest |
ExplainRequest.source(BytesReference source) |
| Modifier and Type | Method and Description |
|---|---|
void |
FieldStatsRequest.source(BytesReference content) |
| Modifier and Type | Method and Description |
|---|---|
BytesReference |
GetResponse.getSourceAsBytesRef()
Returns bytes reference, also un compress the source if needed.
|
BytesReference |
GetResponse.getSourceInternal()
Returns the internal source bytes, as they are returned without munging (for example,
might still be compressed).
|
| Modifier and Type | Method and Description |
|---|---|
MultiGetRequest |
MultiGetRequest.add(String defaultIndex,
String defaultType,
String[] defaultFields,
FetchSourceContext defaultFetchSource,
BytesReference data) |
MultiGetRequest |
MultiGetRequest.add(String defaultIndex,
String defaultType,
String[] defaultFields,
FetchSourceContext defaultFetchSource,
BytesReference data,
boolean allowExplicitIndex) |
MultiGetRequest |
MultiGetRequest.add(String defaultIndex,
String defaultType,
String[] defaultFields,
FetchSourceContext defaultFetchSource,
String defaultRouting,
BytesReference data,
boolean allowExplicitIndex) |
| Modifier and Type | Method and Description |
|---|---|
BytesReference |
IndexRequest.source()
The source of the document to index, recopied to a new array if it is unsage.
|
| Modifier and Type | Method and Description |
|---|---|
IndexRequestBuilder |
IndexRequestBuilder.setSource(BytesReference source)
Sets the source.
|
IndexRequest |
IndexRequest.source(BytesReference source)
Sets the document to index in bytes form.
|
| Modifier and Type | Method and Description |
|---|---|
BytesReference |
PutIndexedScriptRequest.source()
The source of the document to index, recopied to a new array if it is unsage.
|
| Modifier and Type | Method and Description |
|---|---|
PutIndexedScriptRequestBuilder |
PutIndexedScriptRequestBuilder.setSource(BytesReference source)
Sets the source.
|
PutIndexedScriptRequest |
PutIndexedScriptRequest.source(BytesReference source)
Sets the document to index in bytes form.
|
| Modifier and Type | Method and Description |
|---|---|
BytesReference |
PercolateShardRequest.docSource() |
BytesReference |
PercolateShardRequest.source() |
BytesReference |
PercolateRequest.source() |
| Modifier and Type | Method and Description |
|---|---|
MultiPercolateRequest |
MultiPercolateRequest.add(BytesReference data,
boolean allowExplicitIndex)
Embeds a percolate request which request body is defined as raw bytes to this multi percolate request
|
PercolateSourceBuilder.DocBuilder |
PercolateSourceBuilder.DocBuilder.setDoc(BytesReference doc)
Sets the document to be percolated.
|
PercolateRequestBuilder |
PercolateRequestBuilder.setSource(BytesReference source)
Raw variant of
PercolateRequestBuilder.setSource(PercolateSourceBuilder) |
PercolateRequest |
PercolateRequest.source(BytesReference source)
Raw version of
PercolateRequest.source(PercolateSourceBuilder) |
| Modifier and Type | Method and Description |
|---|---|
BytesReference |
SearchRequest.extraSource()
Additional search source to execute.
|
BytesReference |
SearchRequest.source()
The search source to execute.
|
BytesReference |
SearchRequest.templateSource()
The search source template to execute.
|
| Modifier and Type | Method and Description |
|---|---|
MultiSearchRequest |
MultiSearchRequest.add(BytesReference data,
boolean isTemplateRequest,
String[] indices,
String[] types,
String searchType,
IndicesOptions indicesOptions) |
MultiSearchRequest |
MultiSearchRequest.add(BytesReference data,
boolean isTemplateRequest,
String[] indices,
String[] types,
String searchType,
String routing,
IndicesOptions indicesOptions,
boolean allowExplicitIndex) |
SearchRequest |
SearchRequest.extraSource(BytesReference source)
Allows to provide additional source that will be used as well.
|
SearchRequestBuilder |
SearchRequestBuilder.setAggregations(BytesReference aggregations)
Sets a raw (xcontent) binary representation of addAggregation to use.
|
SearchRequestBuilder |
SearchRequestBuilder.setExtraSource(BytesReference source)
Sets the source of the request as a json string.
|
SearchRequestBuilder |
SearchRequestBuilder.setPostFilter(BytesReference postFilter)
Sets a filter on the query executed that only applies to the search query
(and not aggs for example).
|
SearchRequestBuilder |
SearchRequestBuilder.setQuery(BytesReference queryBinary)
Constructs a new search source builder with a raw search query.
|
SearchRequestBuilder |
SearchRequestBuilder.setSource(BytesReference source)
Sets the source of the request as a json string.
|
SearchRequestBuilder |
SearchRequestBuilder.setTemplateSource(BytesReference source) |
SearchRequest |
SearchRequest.source(BytesReference source)
The search source to execute.
|
SearchRequest |
SearchRequest.templateSource(BytesReference template)
Allows to provide template as source.
|
| Modifier and Type | Method and Description |
|---|---|
BytesReference |
ShardSuggestRequest.suggest() |
BytesReference |
SuggestRequest.suggest()
The Phrase to get correction suggestions for
|
| Modifier and Type | Method and Description |
|---|---|
SuggestRequest |
SuggestRequest.suggest(BytesReference suggestSource)
set a new source for the suggest query
|
| Modifier and Type | Method and Description |
|---|---|
BytesReference |
ToXContentToBytes.buildAsBytes()
Returns a
BytesReference
containing the ToXContent output in binary format. |
BytesReference |
ToXContentToBytes.buildAsBytes(XContentType contentType)
Returns a
BytesReference
containing the ToXContent output in binary format. |
| Modifier and Type | Method and Description |
|---|---|
QuerySourceBuilder |
QuerySourceBuilder.setQuery(BytesReference queryBinary) |
| Modifier and Type | Method and Description |
|---|---|
BytesReference |
TermVectorsRequest.doc()
Returns the artificial document from which term vectors are requested for.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MultiTermVectorsRequest.add(TermVectorsRequest template,
BytesReference data) |
TermVectorsRequest |
TermVectorsRequest.doc(BytesReference doc,
boolean generateRandomId)
Sets an artificial document from which term vectors are requested for.
|
void |
TermVectorsResponse.setHeader(BytesReference header) |
| Constructor and Description |
|---|
TermVectorsFields(BytesReference headerRef,
BytesReference termVectors) |
| Modifier and Type | Method and Description |
|---|---|
GetResult |
UpdateHelper.extractGetResult(UpdateRequest request,
String concreteIndex,
long version,
Map<String,Object> source,
XContentType sourceContentType,
BytesReference sourceAsBytes)
Extracts the fields from the updated document to be returned in a update response
|
UpdateRequestBuilder |
UpdateRequestBuilder.setSource(BytesReference source) |
UpdateRequest |
UpdateRequest.source(BytesReference source) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
Strings.hasLength(BytesReference bytesReference)
Check that the given BytesReference is neither
null nor of length 0
Note: Will return true for a BytesReference that purely consists of whitespace. |
| Modifier and Type | Method and Description |
|---|---|
void |
BlobContainer.writeBlob(String blobName,
BytesReference bytes)
Deprecated.
Use
BlobContainer.writeBlob(String, InputStream, long) instead. |
| Modifier and Type | Method and Description |
|---|---|
void |
FsBlobContainer.writeBlob(String blobName,
BytesReference data) |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractLegacyBlobContainer.writeBlob(String blobName,
BytesReference data)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
URLBlobContainer.writeBlob(String blobName,
BytesReference data) |
| Modifier and Type | Class and Description |
|---|---|
class |
BytesArray |
class |
ChannelBufferBytesReference |
class |
PagedBytesReference
A page based bytes reference, internally holding the bytes in a paged
data structure.
|
class |
ReleasablePagedBytesReference
An extension to
PagedBytesReference that requires releasing its content. |
| Modifier and Type | Method and Description |
|---|---|
BytesReference |
BytesArray.slice(int from,
int length) |
BytesReference |
ChannelBufferBytesReference.slice(int from,
int length) |
BytesReference |
BytesReference.slice(int from,
int length)
Slice the bytes from the from index up to length.
|
BytesReference |
PagedBytesReference.slice(int from,
int length) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
BytesReference.Helper.bytesEqual(BytesReference a,
BytesReference b) |
static int |
BytesReference.Helper.bytesHashCode(BytesReference a) |
| Modifier and Type | Method and Description |
|---|---|
BytesReference |
CompressedXContent.compressedReference()
Return the compressed bytes as a
BytesReference. |
static BytesReference |
CompressorFactory.uncompress(BytesReference bytes)
Decompress the provided
BytesReference. |
static BytesReference |
CompressorFactory.uncompressIfNeeded(BytesReference bytes)
Uncompress the provided data, data can be detected as compressed using
CompressorFactory.isCompressed(BytesReference). |
| Modifier and Type | Method and Description |
|---|---|
static Compressor |
CompressorFactory.compressor(BytesReference bytes) |
boolean |
Compressor.isCompressed(BytesReference bytes) |
static boolean |
CompressorFactory.isCompressed(BytesReference bytes) |
static BytesReference |
CompressorFactory.uncompress(BytesReference bytes)
Decompress the provided
BytesReference. |
static BytesReference |
CompressorFactory.uncompressIfNeeded(BytesReference bytes)
Uncompress the provided data, data can be detected as compressed using
CompressorFactory.isCompressed(BytesReference). |
| Constructor and Description |
|---|
CompressedXContent(BytesReference data)
Create a
CompressedXContent out of a serialized ToXContent
that may already be compressed. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
DeflateCompressor.isCompressed(BytesReference bytes) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
LZFCompressor.isCompressed(BytesReference bytes)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
BytesReference |
BytesStream.bytes() |
| Modifier and Type | Method and Description |
|---|---|
BytesReference |
BytesStreamOutput.bytes() |
BytesReference |
StreamInput.readBytesReference()
Reads a bytes reference from this stream, might hold an actual reference to the underlying
bytes of the stream.
|
BytesReference |
StreamInput.readBytesReference(int length)
Reads a bytes reference from this stream, might hold an actual reference to the underlying
bytes of the stream.
|
| Modifier and Type | Method and Description |
|---|---|
static StreamInput |
StreamInput.wrap(BytesReference reference) |
void |
StreamOutput.writeBytesReference(BytesReference bytes)
Writes the bytes reference, including a length header.
|
| Modifier and Type | Field and Description |
|---|---|
static Comparator<BytesReference> |
UTF8SortedAsUnicodeComparator.utf8SortedAsUnicodeSortOrder |
| Modifier and Type | Method and Description |
|---|---|
BytesReference |
Text.bytes()
Returns a
BytesReference view of the data. |
| Modifier and Type | Method and Description |
|---|---|
int |
UTF8SortedAsUnicodeComparator.compare(BytesReference a,
BytesReference b) |
| Constructor and Description |
|---|
Text(BytesReference bytes) |
| Modifier and Type | Method and Description |
|---|---|
BytesReference |
XContentBuilder.bytes() |
| Modifier and Type | Method and Description |
|---|---|
static String |
XContentHelper.convertToJson(BytesReference bytes,
boolean reformatJson) |
static String |
XContentHelper.convertToJson(BytesReference bytes,
boolean reformatJson,
boolean prettyPrint) |
static Tuple<XContentType,Map<String,Object>> |
XContentHelper.convertToMap(BytesReference bytes,
boolean ordered) |
static XContentParser |
XContentHelper.createParser(BytesReference bytes) |
XContentParser |
XContent.createParser(BytesReference bytes)
Creates a parser over the provided bytes.
|
XContentBuilder |
XContentBuilder.field(String name,
BytesReference value)
Writes the binary content of the given BytesReference
Use
XContentParser.binaryValue() to read the value back |
XContentBuilder |
XContentBuilder.field(XContentBuilderString name,
BytesReference value)
Writes the binary content of the given BytesReference
Use
XContentParser.binaryValue() to read the value back |
XContentBuilder |
XContentBuilder.rawField(String fieldName,
BytesReference content) |
XContentBuilder |
XContentBuilder.rawValue(BytesReference content) |
XContentBuilder |
XContentBuilder.value(BytesReference value)
Writes the binary content of the given BytesReference
Use
XContentParser.binaryValue() to read the value back |
void |
XContentGenerator.writeRawField(String fieldName,
BytesReference content) |
static void |
XContentHelper.writeRawField(String field,
BytesReference source,
XContentBuilder builder,
ToXContent.Params params)
Writes a "raw" (bytes) field, handling cases where the bytes are compressed, and tries to optimize writing using
XContentBuilder.rawField(String, org.elasticsearch.common.bytes.BytesReference). |
void |
XContentGenerator.writeRawValue(BytesReference content) |
static XContent |
XContentFactory.xContent(BytesReference bytes) |
static XContentType |
XContentFactory.xContentType(BytesReference bytes)
Guesses the content type based on the provided bytes.
|
| Modifier and Type | Method and Description |
|---|---|
XContentParser |
CborXContent.createParser(BytesReference bytes) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
JsonXContentGenerator.copyRawValue(BytesReference content,
XContent xContent) |
XContentParser |
JsonXContent.createParser(BytesReference bytes) |
void |
JsonXContentGenerator.writeRawField(String fieldName,
BytesReference content) |
void |
JsonXContentGenerator.writeRawValue(BytesReference content) |
| Modifier and Type | Method and Description |
|---|---|
XContentParser |
SmileXContent.createParser(BytesReference bytes) |
| Modifier and Type | Method and Description |
|---|---|
XContentParser |
YamlXContent.createParser(BytesReference bytes) |
| Modifier and Type | Method and Description |
|---|---|
static BytesReference |
PublishClusterStateAction.serializeDiffClusterState(Diff diff,
Version nodeVersion) |
static BytesReference |
PublishClusterStateAction.serializeFullClusterState(ClusterState clusterState,
Version nodeVersion) |
| Modifier and Type | Method and Description |
|---|---|
BytesReference |
NettyHttpRequest.content() |
| Modifier and Type | Method and Description |
|---|---|
BytesReference |
Engine.IndexingOperation.source() |
BytesReference |
Engine.DeleteByQuery.source() |
| Constructor and Description |
|---|
Engine.DeleteByQuery(org.apache.lucene.search.Query query,
BytesReference source,
String[] filteringAliases,
org.apache.lucene.search.Query aliasFilter,
org.apache.lucene.search.join.BitSetProducer parentFilter,
Engine.Operation.Origin origin,
long startTime,
String... types) |
| Modifier and Type | Field and Description |
|---|---|
protected BytesReference |
FieldsVisitor.source |
| Modifier and Type | Method and Description |
|---|---|
BytesReference |
FieldsVisitor.source() |
| Modifier and Type | Method and Description |
|---|---|
BytesReference |
GetResult.internalSourceRef()
Internal source representation, might be compressed....
|
BytesReference |
GetResult.sourceRef()
Returns bytes reference, also un compress the source if needed.
|
| Constructor and Description |
|---|
GetResult(String index,
String type,
String id,
long version,
boolean exists,
BytesReference source,
Map<String,GetField> fields) |
| Modifier and Type | Method and Description |
|---|---|
BytesReference |
ParsedDocument.source() |
BytesReference |
SourceToParse.source() |
abstract BytesReference |
ParseContext.source() |
BytesReference |
ParseContext.InternalParseContext.source() |
BytesReference |
Mapping.toBytes()
Serialize to a
BytesReference. |
| Modifier and Type | Method and Description |
|---|---|
ParsedDocument |
DocumentMapper.parse(String index,
String type,
String id,
BytesReference source) |
void |
ParsedDocument.setSource(BytesReference source) |
static SourceToParse |
SourceToParse.source(BytesReference source) |
abstract void |
ParseContext.source(BytesReference source) |
void |
ParseContext.InternalParseContext.source(BytesReference source) |
static SourceToParse |
SourceToParse.source(SourceToParse.Origin origin,
BytesReference source) |
| Constructor and Description |
|---|
ParsedDocument(org.apache.lucene.document.Field uid,
org.apache.lucene.document.Field version,
String id,
String type,
String routing,
long timestamp,
long ttl,
List<ParseContext.Document> documents,
BytesReference source,
Mapping dynamicMappingsUpdate) |
| Modifier and Type | Method and Description |
|---|---|
void |
PercolatorQueriesRegistry.addPercolateQuery(String idAsString,
BytesReference source) |
| Modifier and Type | Method and Description |
|---|---|
BytesReference |
MoreLikeThisQueryBuilder.Item.doc() |
| Modifier and Type | Method and Description |
|---|---|
MoreLikeThisQueryBuilder.Item |
MoreLikeThisQueryBuilder.Item.doc(BytesReference doc)
Sets to a given artificial document, that is a document that is not present in the index.
|
ParsedQuery |
IndexQueryParserService.parse(BytesReference source) |
ParsedQuery |
IndexQueryParserService.parse(QueryParseContext context,
BytesReference source) |
ParsedQuery |
IndexQueryParserService.parseQuery(BytesReference source)
Selectively parses a query from a top level query or query_binary json field from the specified source.
|
static WrapperQueryBuilder |
QueryBuilders.wrapperQuery(BytesReference source)
A Query builder which allows building a query thanks to a JSON string or binary data.
|
| Constructor and Description |
|---|
WrapperQueryBuilder(BytesReference source)
Creates a query builder given a query provided as a
BytesReference |
| Modifier and Type | Method and Description |
|---|---|
BytesReference |
XContentStructure.bytes()
Return the bytes that are going to be used for parsing
|
| Modifier and Type | Method and Description |
|---|---|
void |
XContentStructure.bytes(BytesReference innerBytes)
Set the bytes to be used for parsing
|
| Modifier and Type | Field and Description |
|---|---|
BytesReference |
Translog.Source.source |
| Modifier and Type | Method and Description |
|---|---|
BytesReference |
Translog.Create.source() |
BytesReference |
Translog.Index.source() |
BytesReference |
Translog.DeleteByQuery.source()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Translog.Location |
TranslogWriter.add(BytesReference data)
add the given bytes to the translog and return the location they were written at
|
Translog.Location |
BufferingTranslogWriter.add(BytesReference data) |
| Constructor and Description |
|---|
Translog.DeleteByQuery(BytesReference source,
String[] filteringAliases,
String... types)
Deprecated.
|
Translog.Source(BytesReference source,
String routing,
String parent,
long timestamp,
long ttl) |
| Modifier and Type | Field and Description |
|---|---|
BytesReference |
IndicesRequestCache.Key.value |
| Constructor and Description |
|---|
IndicesRequestCache.Value(BytesReference reference,
long ramBytesUsed) |
| Modifier and Type | Method and Description |
|---|---|
BytesReference |
RecoveryFileChunkRequest.content() |
| Constructor and Description |
|---|
RecoveryFileChunkRequest(long recoveryId,
ShardId shardId,
StoreFileMetaData metaData,
long position,
BytesReference content,
boolean lastChunk,
int totalTranslogOps,
long sourceThrottleTimeInNanos) |
| Modifier and Type | Method and Description |
|---|---|
protected BytesReference |
ChecksumBlobStoreFormat.write(T obj) |
| Modifier and Type | Method and Description |
|---|---|
protected T |
BlobStoreFormat.read(BytesReference bytes) |
| Modifier and Type | Method and Description |
|---|---|
BytesReference |
BytesRestResponse.content() |
abstract BytesReference |
RestRequest.content() |
abstract BytesReference |
RestResponse.content()
The response content.
|
| Modifier and Type | Method and Description |
|---|---|
XContentBuilder |
AbstractRestChannel.newBuilder(BytesReference autoDetectSource,
boolean useFiltering) |
XContentBuilder |
RestChannel.newBuilder(BytesReference autoDetectSource,
boolean useFiltering) |
| Constructor and Description |
|---|
BytesRestResponse(RestStatus status,
String contentType,
BytesReference content)
Creates a binary response.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
RestAnalyzeAction.buildFromContent(BytesReference content,
AnalyzeRequest analyzeRequest,
ParseFieldMatcher parseFieldMatcher) |
| Modifier and Type | Method and Description |
|---|---|
static void |
RestClearScrollAction.buildFromContent(BytesReference content,
ClearScrollRequest clearScrollRequest) |
static void |
RestSearchScrollAction.buildFromContent(BytesReference content,
SearchScrollRequest searchScrollRequest) |
static void |
RestSearchAction.parseSearchRequest(SearchRequest searchRequest,
RestRequest request,
ParseFieldMatcher parseFieldMatcher,
BytesReference bodyContent) |
| Modifier and Type | Method and Description |
|---|---|
static BytesReference |
RestActions.getRestContent(RestRequest request)
Get Rest content from either payload or source parameter
|
| Modifier and Type | Method and Description |
|---|---|
BytesReference |
SearchHit.getSourceRef()
Returns bytes reference, also un compress the source if needed.
|
BytesReference |
SearchHit.sourceRef()
Returns bytes reference, also un compress the source if needed.
|
| Modifier and Type | Method and Description |
|---|---|
BytesReference |
InternalAggregation.Type.stream() |
| Modifier and Type | Method and Description |
|---|---|
static void |
AggregationStreams.registerStream(AggregationStreams.Stream stream,
BytesReference... types)
Registers the given stream and associate it with the given types.
|
static AggregationStreams.Stream |
AggregationStreams.stream(BytesReference type)
Returns the stream that is registered for the given type
|
B |
AggregationBuilder.subAggregation(BytesReference aggregationsBinary)
Sets a raw (xcontent / json) sub addAggregation.
|
| Constructor and Description |
|---|
InternalAggregation.Type(String name,
BytesReference stream) |
| Modifier and Type | Method and Description |
|---|---|
static void |
BucketStreams.registerStream(BucketStreams.Stream stream,
BytesReference... types)
Registers the given stream and associate it with the given types.
|
static BucketStreams.Stream |
BucketStreams.stream(BytesReference type)
Returns the stream that is registered for the given type
|
| Modifier and Type | Method and Description |
|---|---|
static void |
PipelineAggregatorStreams.registerStream(PipelineAggregatorStreams.Stream stream,
BytesReference... types)
Registers the given stream and associate it with the given types.
|
static PipelineAggregatorStreams.Stream |
PipelineAggregatorStreams.stream(BytesReference type)
Returns the stream that is registered for the given type
|
| Modifier and Type | Method and Description |
|---|---|
SearchSourceBuilder |
SearchSourceBuilder.aggregations(BytesReference aggregationsBinary)
Sets a raw (xcontent / json) addAggregation.
|
SearchSourceBuilder |
SearchSourceBuilder.postFilter(BytesReference postFilterBinary)
Sets a filter on the query executed that only applies to the search query
(and not aggs for example).
|
SearchSourceBuilder |
SearchSourceBuilder.query(BytesReference queryBinary)
Constructs a new search source builder with a raw search query.
|
| Modifier and Type | Method and Description |
|---|---|
BytesReference |
ShardSearchLocalRequest.cacheKey() |
BytesReference |
ShardSearchRequest.cacheKey()
Returns the cache key for this shard search request, based on its content
|
BytesReference |
ShardSearchTransportRequest.cacheKey() |
BytesReference |
ShardSearchLocalRequest.extraSource() |
BytesReference |
ShardSearchRequest.extraSource() |
BytesReference |
ShardSearchTransportRequest.extraSource() |
BytesReference |
InternalSearchHit.getSourceRef() |
BytesReference |
InternalSearchHit.internalSourceRef()
Internal source representation, might be compressed....
|
BytesReference |
ShardSearchLocalRequest.source() |
BytesReference |
ShardSearchRequest.source() |
BytesReference |
ShardSearchTransportRequest.source() |
BytesReference |
InternalSearchHit.sourceRef()
Returns bytes reference, also un compress the source if needed.
|
BytesReference |
ShardSearchLocalRequest.templateSource() |
BytesReference |
ShardSearchRequest.templateSource() |
BytesReference |
ShardSearchTransportRequest.templateSource() |
| Modifier and Type | Method and Description |
|---|---|
void |
ShardSearchLocalRequest.source(BytesReference source) |
void |
ShardSearchRequest.source(BytesReference source) |
void |
ShardSearchTransportRequest.source(BytesReference source) |
InternalSearchHit |
InternalSearchHit.sourceRef(BytesReference source)
Sets representation, might be compressed....
|
| Constructor and Description |
|---|
ShardSearchLocalRequest(ShardId shardId,
int numberOfShards,
SearchType searchType,
BytesReference source,
String[] types,
Boolean requestCache) |
| Modifier and Type | Method and Description |
|---|---|
BytesReference |
SourceLookup.internalSourceRef()
Internal source representation, might be compressed....
|
| Modifier and Type | Method and Description |
|---|---|
void |
SourceLookup.setSource(BytesReference source) |
static Map<String,Object> |
SourceLookup.sourceAsMap(BytesReference source) |
static Tuple<XContentType,Map<String,Object>> |
SourceLookup.sourceAsMapAndType(BytesReference source) |
| Modifier and Type | Method and Description |
|---|---|
BytesReference |
CompletionSuggestion.Entry.Option.getPayload() |
| Modifier and Type | Method and Description |
|---|---|
void |
CompletionSuggestion.Entry.Option.setPayload(BytesReference payload) |
| Constructor and Description |
|---|
CompletionSuggestion.Entry.Option(Text text,
float score,
BytesReference payload) |
| Modifier and Type | Method and Description |
|---|---|
BytesReference |
IndexWarmersMetaData.Entry.source() |
| Constructor and Description |
|---|
IndexWarmersMetaData.Entry(String name,
String[] types,
Boolean requestCache,
BytesReference source) |
| Modifier and Type | Method and Description |
|---|---|
BytesReference |
BytesTransportRequest.bytes() |
| Constructor and Description |
|---|
BytesTransportRequest(BytesReference bytes,
Version version) |
| Modifier and Type | Method and Description |
|---|---|
BytesReference |
ChannelBufferStreamInput.readBytesReference(int length) |
Copyright © 2009–2017. All rights reserved.