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
JSON, YAML and properties formats are supported
|
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 |
---|
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 |
ValidateQueryRequest.source()
The source to execute.
|
Modifier and Type | Method and Description |
---|---|
ValidateQueryRequestBuilder |
ValidateQueryRequestBuilder.setSource(BytesReference source)
The source to validate.
|
ValidateQueryRequestBuilder |
ValidateQueryRequestBuilder.setSource(BytesReference source,
boolean unsafe)
The source to validate.
|
ValidateQueryRequest |
ValidateQueryRequest.source(BytesReference source,
boolean unsafe)
The source to validate.
|
Modifier and Type | Method and Description |
---|---|
BulkProcessor |
BulkProcessor.add(BytesReference data,
boolean contentUnsafe,
String defaultIndex,
String defaultType) |
BulkRequest |
BulkRequest.add(BytesReference data,
boolean contentUnsafe,
String defaultIndex,
String defaultType)
Adds a framed data in binary format
|
BulkRequest |
BulkRequest.add(BytesReference data,
boolean contentUnsafe,
String defaultIndex,
String defaultType,
boolean allowExplicitIndex)
Adds a framed data in binary format
|
BulkProcessor |
BulkProcessor.add(BytesReference data,
boolean contentUnsafe,
String defaultIndex,
String defaultType,
Object payload) |
BulkRequest |
BulkRequest.add(BytesReference data,
boolean contentUnsafe,
String defaultIndex,
String defaultType,
String defaultRouting,
Object payload,
boolean allowExplicitIndex) |
Modifier and Type | Method and Description |
---|---|
BytesReference |
CountRequest.source()
The source to execute.
|
Modifier and Type | Method and Description |
---|---|
CountRequestBuilder |
CountRequestBuilder.setQuery(BytesReference queryBinary)
The query binary to execute
|
CountRequestBuilder |
CountRequestBuilder.setSource(BytesReference source)
The source to execute.
|
CountRequestBuilder |
CountRequestBuilder.setSource(BytesReference source,
boolean unsafe)
The source to execute.
|
CountRequest |
CountRequest.source(BytesReference querySource,
boolean unsafe) |
Modifier and Type | Method and Description |
---|---|
BytesReference |
DeleteByQueryRequest.source()
The source to execute.
|
Modifier and Type | Method and Description |
---|---|
DeleteByQueryRequestBuilder |
DeleteByQueryRequestBuilder.setSource(BytesReference source)
The source to execute.
|
DeleteByQueryRequestBuilder |
DeleteByQueryRequestBuilder.setSource(BytesReference source,
boolean unsafe)
The source to execute.
|
DeleteByQueryRequest |
DeleteByQueryRequest.source(BytesReference source,
boolean unsafe) |
Modifier and Type | Method and Description |
---|---|
BytesReference |
ExistsRequest.source()
The source to execute.
|
Modifier and Type | Method and Description |
---|---|
ExistsRequestBuilder |
ExistsRequestBuilder.setQuery(BytesReference queryBinary)
The query binary to execute
|
ExistsRequestBuilder |
ExistsRequestBuilder.setSource(BytesReference source)
The source to execute.
|
ExistsRequestBuilder |
ExistsRequestBuilder.setSource(BytesReference source,
boolean unsafe)
The source to execute.
|
ExistsRequest |
ExistsRequest.source(BytesReference querySource,
boolean unsafe) |
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,
boolean unsafe)
Sets the full source of the explain request (for example, wrapping an actual query).
|
ExplainRequest |
ExplainRequest.source(BytesReference source,
boolean unsafe) |
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.safeSource() |
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.
|
IndexRequestBuilder |
IndexRequestBuilder.setSource(BytesReference source,
boolean unsafe)
Sets the source.
|
IndexRequest |
IndexRequest.source(BytesReference source,
boolean unsafe)
Sets the document to index in bytes form.
|
Modifier and Type | Method and Description |
---|---|
BytesReference |
PutIndexedScriptRequest.safeSource() |
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.
|
PutIndexedScriptRequestBuilder |
PutIndexedScriptRequestBuilder.setSource(BytesReference source,
boolean unsafe)
Sets the source.
|
PutIndexedScriptRequest |
PutIndexedScriptRequest.source(BytesReference source,
boolean unsafe)
Sets the document to index in bytes form.
|
Modifier and Type | Method and Description |
---|---|
BytesReference |
MoreLikeThisRequest.searchSource()
An optional search source request allowing to control the search request for the
more like this documents.
|
Modifier and Type | Method and Description |
---|---|
MoreLikeThisRequest |
MoreLikeThisRequest.searchSource(BytesReference searchSource,
boolean unsafe)
An optional search source request allowing to control the search request for the
more like this documents.
|
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 contentUnsafe,
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) |
PercolateRequestBuilder |
PercolateRequestBuilder.setSource(BytesReference source,
boolean unsafe)
Raw variant of
PercolateRequestBuilder.setSource(PercolateSourceBuilder) |
PercolateRequest |
PercolateRequest.source(BytesReference source,
boolean unsafe)
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 contentUnsafe,
String[] indices,
String[] types,
String searchType,
IndicesOptions indicesOptions) |
MultiSearchRequest |
MultiSearchRequest.add(BytesReference data,
boolean contentUnsafe,
String[] indices,
String[] types,
String searchType,
String routing,
IndicesOptions indicesOptions,
boolean allowExplicitIndex) |
SearchRequest |
SearchRequest.extraSource(BytesReference source,
boolean unsafe)
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.setExtraSource(BytesReference source,
boolean unsafe)
Sets the source of the request as a json string.
|
SearchRequestBuilder |
SearchRequestBuilder.setFacets(BytesReference facets)
Deprecated.
Facets are deprecated and will be removed in a future release. Please use aggregations instead.
|
SearchRequestBuilder |
SearchRequestBuilder.setPostFilter(BytesReference postFilter)
Sets a filter on the query executed that only applies to the search query
(and not facets 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.setSource(BytesReference source,
boolean unsafe)
Sets the source of the request as a json string.
|
SearchRequestBuilder |
SearchRequestBuilder.setTemplateSource(BytesReference source) |
SearchRequest |
SearchRequest.source(BytesReference source,
boolean unsafe)
The search source to execute.
|
SearchRequest |
SearchRequest.templateSource(BytesReference template,
boolean unsafe)
Allows to provide template as source.
|
Modifier and Type | Method and Description |
---|---|
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
|
SuggestRequest |
SuggestRequest.suggest(BytesReference suggestSource,
boolean contentUnsafe) |
Modifier and Type | Method and Description |
---|---|
BytesReference |
QuerySourceBuilder.buildAsBytes(XContentType contentType) |
Modifier and Type | Method and Description |
---|---|
QuerySourceBuilder |
QuerySourceBuilder.setQuery(BytesReference queryBinary) |
Modifier and Type | Method and Description |
---|---|
BytesReference |
TermVectorRequest.doc()
Returns the artificial document from which term vectors are requested for.
|
Modifier and Type | Method and Description |
---|---|
void |
MultiTermVectorsRequest.add(TermVectorRequest template,
BytesReference data) |
TermVectorRequest |
TermVectorRequest.doc(BytesReference doc,
boolean generateRandomId)
Sets an artificial document from which term vectors are requested for.
|
void |
TermVectorResponse.setHeader(BytesReference header) |
Constructor and Description |
---|
TermVectorFields(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 | Interface and Description |
---|---|
interface |
ReleasableBytesReference
A bytes reference that needs to be released once its usage is done.
|
Modifier and Type | Class and Description |
---|---|
class |
BytesArray |
class |
ChannelBufferBytesReference |
class |
HashedBytesArray
A bytes array reference that caches the hash code.
|
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 |
PagedBytesReference.slice(int from,
int length) |
BytesReference |
HashedBytesArray.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 |
BytesArray.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 |
---|---|
static BytesReference |
CompressorFactory.uncompressIfNeeded(BytesReference bytes)
Uncompress the provided data, data can be detected as compressed using
CompressorFactory.isCompressed(byte[], int, int) . |
Modifier and Type | Method and Description |
---|---|
static Compressor |
CompressorFactory.compressor(BytesReference bytes) |
static boolean |
CompressorFactory.isCompressed(BytesReference bytes) |
boolean |
Compressor.isCompressed(BytesReference bytes) |
static BytesReference |
CompressorFactory.uncompressIfNeeded(BytesReference bytes)
Uncompress the provided data, data can be detected as compressed using
CompressorFactory.isCompressed(byte[], int, int) . |
Constructor and Description |
---|
CompressedString(BytesReference data) |
Modifier and Type | Method and Description |
---|---|
boolean |
LZFCompressor.isCompressed(BytesReference bytes) |
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 |
AdapterStreamInput.readBytesReference() |
BytesReference |
BytesStreamInput.readBytesReference(int length) |
BytesReference |
StreamInput.readBytesReference(int length)
Reads a bytes reference from this stream, might hold an actual reference to the underlying
bytes of the stream.
|
BytesReference |
AdapterStreamInput.readBytesReference(int length) |
Modifier and Type | Method and Description |
---|---|
void |
AdapterStreamOutput.writeBytesReference(BytesReference bytes) |
void |
StreamOutput.writeBytesReference(BytesReference bytes)
Writes the bytes reference, including a length header.
|
Constructor and Description |
---|
BytesStreamInput(BytesReference bytes) |
Modifier and Type | Method and Description |
---|---|
void |
MulticastChannel.Listener.onMessage(BytesReference data,
SocketAddress address) |
void |
MulticastChannel.MultiListener.onMessage(BytesReference data,
SocketAddress address) |
abstract void |
MulticastChannel.send(BytesReference data)
Send the data over the multicast channel.
|
Modifier and Type | Field and Description |
---|---|
static Comparator<BytesReference> |
UTF8SortedAsUnicodeComparator.utf8SortedAsUnicodeSortOrder |
Modifier and Type | Method and Description |
---|---|
BytesReference |
StringAndBytesText.bytes() |
BytesReference |
BytesText.bytes() |
BytesReference |
StringText.bytes() |
BytesReference |
Text.bytes()
The UTF8 bytes representing the the text, might be converted on the fly, see
Text.hasBytes() |
Modifier and Type | Method and Description |
---|---|
int |
UTF8SortedAsUnicodeComparator.compare(BytesReference a,
BytesReference b) |
Constructor and Description |
---|
BytesText(BytesReference bytes) |
StringAndBytesText(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.value(BytesReference value)
Writes the binary content of the given BytesReference
Use
XContentParser.binaryValue() to read the value back |
static void |
XContentHelper.writeDirect(BytesReference source,
XContentBuilder rawBuilder,
ToXContent.Params params)
Directly writes the source to the output builder
|
void |
XContentGenerator.writeRawField(String fieldName,
BytesReference content,
OutputStream bos) |
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) . |
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) |
protected void |
CborXContentGenerator.writeObjectRaw(String fieldName,
BytesReference content,
OutputStream bos) |
Modifier and Type | Method and Description |
---|---|
XContentParser |
JsonXContent.createParser(BytesReference bytes) |
protected void |
JsonXContentGenerator.writeObjectRaw(String fieldName,
BytesReference content,
OutputStream bos) |
void |
JsonXContentGenerator.writeRawField(String fieldName,
BytesReference content,
OutputStream bos) |
Modifier and Type | Method and Description |
---|---|
XContentParser |
SmileXContent.createParser(BytesReference bytes) |
protected void |
SmileXContentGenerator.writeObjectRaw(String fieldName,
BytesReference content,
OutputStream bos) |
Modifier and Type | Method and Description |
---|---|
XContentParser |
YamlXContent.createParser(BytesReference bytes) |
protected void |
YamlXContentGenerator.writeObjectRaw(String fieldName,
BytesReference content,
OutputStream bos) |
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 |
---|
DeleteByQuery(org.apache.lucene.search.Query query,
BytesReference source,
String[] filteringAliases,
org.apache.lucene.search.Filter aliasFilter,
FixedBitSetFilter 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 |
SourceToParse.source() |
abstract BytesReference |
ParseContext.source() |
BytesReference |
ParseContext.InternalParseContext.source() |
BytesReference |
ParsedDocument.source() |
Modifier and Type | Method and Description |
---|---|
ParsedDocument |
DocumentMapper.parse(BytesReference source) |
ParsedDocument |
DocumentMapper.parse(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,
org.apache.lucene.analysis.Analyzer analyzer,
BytesReference source,
boolean mappingsModified) |
SourceToParse(SourceToParse.Origin origin,
BytesReference source) |
Modifier and Type | Method and Description |
---|---|
BytesReference |
BinaryFieldMapper.value(Object value) |
Modifier and Type | Method and Description |
---|---|
void |
PercolatorQueriesRegistry.addPercolateQuery(String idAsString,
BytesReference source) |
Modifier and Type | Method and Description |
---|---|
BytesReference |
QueryBuilder.buildAsBytes() |
BytesReference |
BaseFilterBuilder.buildAsBytes() |
BytesReference |
FilterBuilder.buildAsBytes() |
BytesReference |
BaseQueryBuilder.buildAsBytes() |
BytesReference |
QueryBuilder.buildAsBytes(XContentType contentType) |
BytesReference |
BaseFilterBuilder.buildAsBytes(XContentType contentType) |
BytesReference |
FilterBuilder.buildAsBytes(XContentType contentType) |
BytesReference |
BaseQueryBuilder.buildAsBytes(XContentType contentType) |
BytesReference |
MoreLikeThisQueryBuilder.Item.doc() |
Modifier and Type | Method and Description |
---|---|
static BytesFilterBuilder |
FilterBuilders.bytesFilter(BytesReference source)
Constructs a bytes filter to generate a filter from a
BytesReference source |
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.
|
Constructor and Description |
---|
BytesFilterBuilder(BytesReference source) |
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 | Method and Description |
---|---|
Engine.DeleteByQuery |
IndexShard.prepareDeleteByQuery(BytesReference source,
String[] filteringAliases,
Engine.Operation.Origin origin,
String... types) |
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() |
Constructor and Description |
---|
DeleteByQuery(BytesReference source,
String[] filteringAliases,
String... types) |
Source(BytesReference source,
String routing,
String parent,
long timestamp,
long ttl) |
Modifier and Type | Method and Description |
---|---|
Translog.Location |
BufferingFsTranslogFile.add(BytesReference data) |
Translog.Location |
SimpleFsTranslogFile.add(BytesReference data) |
Translog.Location |
FsTranslogFile.add(BytesReference data) |
Modifier and Type | Field and Description |
---|---|
BytesReference |
IndicesQueryCache.Key.value |
Constructor and Description |
---|
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 |
---|---|
abstract BytesReference |
RestRequest.content() |
abstract BytesReference |
RestResponse.content()
The response content.
|
BytesReference |
BytesRestResponse.content() |
Modifier and Type | Method and Description |
---|---|
XContentBuilder |
RestChannel.newBuilder(BytesReference autoDetectSource) |
Constructor and Description |
---|
BytesRestResponse(RestStatus status,
String contentType,
BytesReference content,
boolean contentThreadSafe)
Creates a binary response.
|
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 |
---|
Type(String name,
BytesReference stream) |
Modifier and Type | Method and Description |
---|---|
BytesReference |
SearchSourceBuilder.buildAsBytes() |
BytesReference |
SearchSourceBuilder.buildAsBytes(XContentType contentType) |
Modifier and Type | Method and Description |
---|---|
SearchSourceBuilder |
SearchSourceBuilder.aggregations(BytesReference aggregationsBinary)
Sets a raw (xcontent / json) addAggregation.
|
SearchSourceBuilder |
SearchSourceBuilder.facets(BytesReference facetsBinary)
Sets a raw (xcontent / json) facets.
|
SearchSourceBuilder |
SearchSourceBuilder.postFilter(BytesReference postFilterBinary)
Sets a filter on the query executed that only applies to the search query
(and not facets for example).
|
SearchSourceBuilder |
SearchSourceBuilder.query(BytesReference queryBinary)
Constructs a new search source builder with a raw search query.
|
Modifier and Type | Method and Description |
---|---|
abstract BytesReference |
InternalFacet.streamType() |
Modifier and Type | Method and Description |
---|---|
static void |
InternalFacet.Streams.registerStream(InternalFacet.Stream stream,
BytesReference... types) |
static InternalFacet.Stream |
InternalFacet.Streams.stream(BytesReference type) |
Modifier and Type | Method and Description |
---|---|
BytesReference |
InternalCountDateHistogramFacet.streamType() |
BytesReference |
InternalFullDateHistogramFacet.streamType() |
Modifier and Type | Method and Description |
---|---|
BytesReference |
InternalFilterFacet.streamType() |
Modifier and Type | Method and Description |
---|---|
BytesReference |
InternalGeoDistanceFacet.streamType() |
Modifier and Type | Method and Description |
---|---|
BytesReference |
InternalCountHistogramFacet.streamType() |
BytesReference |
InternalFullHistogramFacet.streamType() |
Modifier and Type | Method and Description |
---|---|
BytesReference |
InternalQueryFacet.streamType() |
Modifier and Type | Method and Description |
---|---|
BytesReference |
InternalRangeFacet.streamType() |
Modifier and Type | Method and Description |
---|---|
BytesReference |
InternalStatisticalFacet.streamType() |
Modifier and Type | Method and Description |
---|---|
BytesReference |
InternalDoubleTermsFacet.streamType() |
Modifier and Type | Method and Description |
---|---|
BytesReference |
InternalLongTermsFacet.streamType() |
Modifier and Type | Method and Description |
---|---|
BytesReference |
InternalStringTermsFacet.streamType() |
Modifier and Type | Method and Description |
---|---|
BytesReference |
InternalTermsStatsDoubleFacet.streamType() |
Modifier and Type | Method and Description |
---|---|
BytesReference |
InternalTermsStatsLongFacet.streamType() |
Modifier and Type | Method and Description |
---|---|
BytesReference |
InternalTermsStatsStringFacet.streamType() |
Modifier and Type | Method and Description |
---|---|
BytesReference |
ShardSearchTransportRequest.cacheKey() |
BytesReference |
ShardSearchRequest.cacheKey()
Returns the cache key for this shard search request, based on its content
|
BytesReference |
ShardSearchLocalRequest.cacheKey() |
BytesReference |
ShardSearchTransportRequest.extraSource() |
BytesReference |
ShardSearchRequest.extraSource() |
BytesReference |
ShardSearchLocalRequest.extraSource() |
BytesReference |
InternalSearchHit.getSourceRef() |
BytesReference |
InternalSearchHit.internalSourceRef()
Internal source representation, might be compressed....
|
BytesReference |
ShardSearchTransportRequest.source() |
BytesReference |
ShardSearchRequest.source() |
BytesReference |
ShardSearchLocalRequest.source() |
BytesReference |
InternalSearchHit.sourceRef()
Returns bytes reference, also un compress the source if needed.
|
BytesReference |
ShardSearchTransportRequest.templateSource() |
BytesReference |
ShardSearchRequest.templateSource() |
BytesReference |
ShardSearchLocalRequest.templateSource() |
Modifier and Type | Method and Description |
---|---|
void |
ShardSearchTransportRequest.source(BytesReference source) |
void |
ShardSearchRequest.source(BytesReference source) |
void |
ShardSearchLocalRequest.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 queryCache) |
Modifier and Type | Method and Description |
---|---|
BytesReference |
SourceLookup.internalSourceRef()
Internal source representation, might be compressed....
|
Modifier and Type | Method and Description |
---|---|
void |
SourceLookup.setNextSource(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 |
SuggestBuilder.buildAsBytes()
Returns a
BytesReference
representing the suggest lookup request. |
BytesReference |
SuggestBuilder.SuggestionBuilder.buildAsBytes() |
BytesReference |
SuggestBuilder.buildAsBytes(XContentType contentType)
Returns a
BytesReference
representing the suggest lookup request. |
BytesReference |
SuggestBuilder.SuggestionBuilder.buildAsBytes(XContentType contentType) |
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 |
---|
Option(Text text,
float score,
BytesReference payload) |
Modifier and Type | Method and Description |
---|---|
BytesReference |
IndexWarmersMetaData.Entry.source() |
Constructor and Description |
---|
Entry(String name,
String[] types,
Boolean queryCache,
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–2015. All rights reserved.