Uses of Class
org.elasticsearch.common.bytes.BytesReference
-
-
Uses of BytesReference in org.elasticsearch.action.admin.cluster.storedscripts
Methods in org.elasticsearch.action.admin.cluster.storedscripts that return BytesReference Modifier and Type Method Description BytesReferencePutStoredScriptRequest. content()Methods in org.elasticsearch.action.admin.cluster.storedscripts with parameters of type BytesReference Modifier and Type Method Description PutStoredScriptRequestPutStoredScriptRequest. content(BytesReference content, XContentType xContentType)Set the script source and the content type of the bytes.PutStoredScriptRequestBuilderPutStoredScriptRequestBuilder. setContent(BytesReference source, XContentType xContentType)Set the source of the script along with the content type of the sourceConstructors in org.elasticsearch.action.admin.cluster.storedscripts with parameters of type BytesReference Constructor Description PutStoredScriptRequest(String id, String context, BytesReference content, XContentType xContentType, StoredScriptSource source) -
Uses of BytesReference in org.elasticsearch.action.admin.indices.create
Methods in org.elasticsearch.action.admin.indices.create with parameters of type BytesReference Modifier and Type Method Description CreateIndexRequestCreateIndexRequest. aliases(BytesReference source)Sets the aliases that will be associated with the index when it gets createdCreateIndexRequestBuilderCreateIndexRequestBuilder. setAliases(BytesReference source)Sets the aliases that will be associated with the index when it gets createdCreateIndexRequestBuilderCreateIndexRequestBuilder. setSource(BytesReference source, XContentType xContentType)Sets the settings and mappings as a single source.CreateIndexRequestCreateIndexRequest. source(BytesReference source, XContentType xContentType)Sets the settings and mappings as a single source. -
Uses of BytesReference in org.elasticsearch.action.admin.indices.mapping.get
Constructors in org.elasticsearch.action.admin.indices.mapping.get with parameters of type BytesReference Constructor Description FieldMappingMetaData(String fullName, BytesReference source) -
Uses of BytesReference in org.elasticsearch.action.admin.indices.mapping.put
Methods in org.elasticsearch.action.admin.indices.mapping.put with parameters of type BytesReference Modifier and Type Method Description PutMappingRequestPutMappingRequest. source(BytesReference mappingSource, XContentType xContentType)The mapping source definition. -
Uses of BytesReference in org.elasticsearch.action.admin.indices.template.put
Methods in org.elasticsearch.action.admin.indices.template.put with parameters of type BytesReference Modifier and Type Method Description PutIndexTemplateRequestPutIndexTemplateRequest. aliases(BytesReference source)Sets the aliases that will be associated with the index when it gets createdPutIndexTemplateRequestPutIndexTemplateRequest. mapping(String type, BytesReference source, XContentType xContentType)Adds mapping that will be added when the index gets created.PutIndexTemplateRequestBuilderPutIndexTemplateRequestBuilder. setAliases(BytesReference source)Sets the aliases that will be associated with the index when it gets createdPutIndexTemplateRequestBuilderPutIndexTemplateRequestBuilder. setSource(BytesReference templateSource, XContentType xContentType)The template source definition.PutIndexTemplateRequestPutIndexTemplateRequest. source(BytesReference source, XContentType xContentType)The template source definition. -
Uses of BytesReference in org.elasticsearch.action.bulk
Methods in org.elasticsearch.action.bulk with parameters of type BytesReference Modifier and Type Method Description BulkRequestBulkRequest. add(BytesReference data, String defaultIndex, boolean allowExplicitIndex, XContentType xContentType)Adds a framed data in binary formatBulkRequestBulkRequest. add(BytesReference data, String defaultIndex, String defaultType, boolean allowExplicitIndex, XContentType xContentType)Deprecated.BulkRequestBulkRequest. add(BytesReference data, String defaultIndex, String defaultType, String defaultRouting, FetchSourceContext defaultFetchSourceContext, String defaultPipeline, boolean allowExplicitIndex, XContentType xContentType)BulkRequestBulkRequest. add(BytesReference data, String defaultIndex, String defaultType, XContentType xContentType)Deprecated.BulkRequestBulkRequest. add(BytesReference data, String defaultIndex, String defaultRouting, FetchSourceContext defaultFetchSourceContext, String defaultPipeline, boolean allowExplicitIndex, XContentType xContentType)BulkRequestBulkRequest. add(BytesReference data, String defaultIndex, XContentType xContentType)Adds a framed data in binary formatvoidBulkRequestParser. parse(BytesReference data, String defaultIndex, String defaultType, String defaultRouting, FetchSourceContext defaultFetchSourceContext, String defaultPipeline, boolean allowExplicitIndex, XContentType xContentType, Consumer<IndexRequest> indexRequestConsumer, Consumer<UpdateRequest> updateRequestConsumer, Consumer<DeleteRequest> deleteRequestConsumer)voidBulkRequestParser. parse(BytesReference data, String defaultIndex, String defaultRouting, FetchSourceContext defaultFetchSourceContext, String defaultPipeline, boolean allowExplicitIndex, XContentType xContentType, Consumer<IndexRequest> indexRequestConsumer, Consumer<UpdateRequest> updateRequestConsumer, Consumer<DeleteRequest> deleteRequestConsumer)Parse the provideddataassuming the provided default values. -
Uses of BytesReference in org.elasticsearch.action.get
Methods in org.elasticsearch.action.get that return BytesReference Modifier and Type Method Description BytesReferenceGetResponse. getSourceAsBytesRef()Returns bytes reference, also un compress the source if needed.BytesReferenceGetResponse. getSourceInternal()Returns the internal source bytes, as they are returned without munging (for example, might still be compressed). -
Uses of BytesReference in org.elasticsearch.action.index
Methods in org.elasticsearch.action.index that return BytesReference Modifier and Type Method Description BytesReferenceIndexRequest. source()The source of the document to index, recopied to a new array if it is unsafe.Methods in org.elasticsearch.action.index with parameters of type BytesReference Modifier and Type Method Description IndexRequestBuilderIndexRequestBuilder. setSource(BytesReference source, XContentType xContentType)Sets the source.IndexRequestIndexRequest. source(BytesReference source, XContentType xContentType)Sets the document to index in bytes form. -
Uses of BytesReference in org.elasticsearch.action.ingest
Methods in org.elasticsearch.action.ingest that return BytesReference Modifier and Type Method Description BytesReferencePutPipelineRequest. getSource()BytesReferenceSimulatePipelineRequest. getSource()Constructors in org.elasticsearch.action.ingest with parameters of type BytesReference Constructor Description PutPipelineRequest(String id, BytesReference source, XContentType xContentType)Create a new pipeline request with the id and source along with the content type of the sourcePutPipelineRequestBuilder(ElasticsearchClient client, PutPipelineAction action, String id, BytesReference source, XContentType xContentType)SimulatePipelineRequest(BytesReference source, XContentType xContentType)Creates a new request with the given source and its content typeSimulatePipelineRequestBuilder(ElasticsearchClient client, SimulatePipelineAction action, BytesReference source, XContentType xContentType)Create a new builder forSimulatePipelineRequests -
Uses of BytesReference in org.elasticsearch.action.search
Methods in org.elasticsearch.action.search with parameters of type BytesReference Modifier and Type Method Description static voidMultiSearchRequest. readMultiLineFormat(BytesReference data, XContent xContent, CheckedBiConsumer<SearchRequest,XContentParser,IOException> consumer, String[] indices, IndicesOptions indicesOptions, String[] types, String routing, String searchType, Boolean ccsMinimizeRoundtrips, NamedXContentRegistry registry, boolean allowExplicitIndex, DeprecationLogger deprecationLogger) -
Uses of BytesReference in org.elasticsearch.action.termvectors
Methods in org.elasticsearch.action.termvectors that return BytesReference Modifier and Type Method Description BytesReferenceTermVectorsRequest. doc()Returns the artificial document from which term vectors are requested for.Methods in org.elasticsearch.action.termvectors with parameters of type BytesReference Modifier and Type Method Description TermVectorsRequestTermVectorsRequest. doc(BytesReference doc, boolean generateRandomId)Deprecated.useTermVectorsRequest.doc(BytesReference, boolean, XContentType)to avoid content auto detectionTermVectorsRequestTermVectorsRequest. doc(BytesReference doc, boolean generateRandomId, XContentType xContentType)Sets an artificial document from which term vectors are requested for.voidTermVectorsResponse. setHeader(BytesReference header)Constructors in org.elasticsearch.action.termvectors with parameters of type BytesReference Constructor Description TermVectorsFields(BytesReference headerRef, BytesReference termVectors) -
Uses of BytesReference in org.elasticsearch.action.update
Methods in org.elasticsearch.action.update with parameters of type BytesReference Modifier and Type Method Description static GetResultUpdateHelper. extractGetResult(UpdateRequest request, String concreteIndex, long seqNo, long primaryTerm, long version, Map<String,Object> source, XContentType sourceContentType, BytesReference sourceAsBytes)AppliesUpdateRequest.fetchSource()to the _source of the updated document to be returned in a update response. -
Uses of BytesReference in org.elasticsearch.client
Methods in org.elasticsearch.client with parameters of type BytesReference Modifier and Type Method Description PutPipelineRequestBuilderClusterAdminClient. preparePutPipeline(String id, BytesReference source, XContentType xContentType)Stores an ingest pipelineSimulatePipelineRequestBuilderClusterAdminClient. prepareSimulatePipeline(BytesReference source, XContentType xContentType)Simulates an ingest pipeline -
Uses of BytesReference in org.elasticsearch.client.enrich
Methods in org.elasticsearch.client.enrich that return BytesReference Modifier and Type Method Description BytesReferenceNamedPolicy. getQuery()BytesReferencePutPolicyRequest. getQuery()Methods in org.elasticsearch.client.enrich with parameters of type BytesReference Modifier and Type Method Description voidPutPolicyRequest. setQuery(BytesReference query) -
Uses of BytesReference in org.elasticsearch.client.indexlifecycle
Methods in org.elasticsearch.client.indexlifecycle that return BytesReference Modifier and Type Method Description BytesReferenceIndexLifecycleExplainResponse. getStepInfo()Methods in org.elasticsearch.client.indexlifecycle with parameters of type BytesReference Modifier and Type Method Description static IndexLifecycleExplainResponseIndexLifecycleExplainResponse. newManagedIndexResponse(String index, String policyName, Long lifecycleDate, String phase, String action, String step, String failedStep, Long phaseTime, Long actionTime, Long stepTime, BytesReference stepInfo, PhaseExecutionInfo phaseExecutionInfo) -
Uses of BytesReference in org.elasticsearch.client.indices
Methods in org.elasticsearch.client.indices that return BytesReference Modifier and Type Method Description BytesReferenceCreateIndexRequest. mappings()BytesReferencePutIndexTemplateRequest. mappings()BytesReferencePutMappingRequest. source()The mapping source definition.Methods in org.elasticsearch.client.indices with parameters of type BytesReference Modifier and Type Method Description CreateIndexRequestCreateIndexRequest. aliases(BytesReference source, XContentType contentType)Sets the aliases that will be associated with the index when it gets createdPutIndexTemplateRequestPutIndexTemplateRequest. aliases(BytesReference source)Sets the aliases that will be associated with the index when it gets createdCreateIndexRequestCreateIndexRequest. mapping(BytesReference source, XContentType xContentType)Adds mapping that will be added when the index gets created.PutIndexTemplateRequestPutIndexTemplateRequest. mapping(BytesReference source, XContentType xContentType)Adds mapping that will be added when the index gets created.CreateIndexRequestCreateIndexRequest. source(BytesReference source, XContentType xContentType)Sets the settings and mappings as a single source.PutIndexTemplateRequestPutIndexTemplateRequest. source(BytesReference source, XContentType xContentType)The template source definition.PutMappingRequestPutMappingRequest. source(BytesReference source, XContentType xContentType)The mapping source definition.Constructors in org.elasticsearch.client.indices with parameters of type BytesReference Constructor Description FieldMappingMetaData(String fullName, BytesReference source) -
Uses of BytesReference in org.elasticsearch.client.ml
Methods in org.elasticsearch.client.ml that return BytesReference Modifier and Type Method Description BytesReferencePostDataRequest. getContent()BytesReferencePreviewDatafeedResponse. getPreview()BytesReferenceFindFileStructureRequest. getSample()Methods in org.elasticsearch.client.ml with parameters of type BytesReference Modifier and Type Method Description voidFindFileStructureRequest. setSample(BytesReference sample)Constructors in org.elasticsearch.client.ml with parameters of type BytesReference Constructor Description PostDataRequest(String jobId, XContentType xContentType, BytesReference content)Create a new PostDataRequest objectPreviewDatafeedResponse(BytesReference preview) -
Uses of BytesReference in org.elasticsearch.client.ml.datafeed
Methods in org.elasticsearch.client.ml.datafeed that return BytesReference Modifier and Type Method Description BytesReferenceDatafeedConfig. getAggregations()BytesReferenceDatafeedUpdate. getAggregations()BytesReferenceDatafeedConfig. getQuery()BytesReferenceDatafeedUpdate. getQuery() -
Uses of BytesReference in org.elasticsearch.client.watcher
Methods in org.elasticsearch.client.watcher that return BytesReference Modifier and Type Method Description BytesReferenceExecuteWatchResponse. getRecord()BytesReferenceGetWatchResponse. getSource()Returns the serialized watchBytesReferencePutWatchRequest. getSource()Constructors in org.elasticsearch.client.watcher with parameters of type BytesReference Constructor Description ExecuteWatchResponse(String recordId, BytesReference contentSource)GetWatchResponse(String id, long version, long seqNo, long primaryTerm, WatchStatus status, BytesReference source, XContentType xContentType)PutWatchRequest(String id, BytesReference source, XContentType xContentType) -
Uses of BytesReference in org.elasticsearch.cluster.coordination
Methods in org.elasticsearch.cluster.coordination that return BytesReference Modifier and Type Method Description static BytesReferencePublicationTransportHandler. serializeDiffClusterState(Diff diff, Version nodeVersion)static BytesReferencePublicationTransportHandler. serializeFullClusterState(ClusterState clusterState, Version nodeVersion) -
Uses of BytesReference in org.elasticsearch.common
Methods in org.elasticsearch.common with parameters of type BytesReference Modifier and Type Method Description static booleanStrings. hasLength(BytesReference bytesReference)Check that the given BytesReference is neithernullnor of length 0 Note: Will returntruefor a BytesReference that purely consists of whitespace. -
Uses of BytesReference in org.elasticsearch.common.bytes
Subclasses of BytesReference in org.elasticsearch.common.bytes Modifier and Type Class Description classByteBufferReferenceThis is aBytesReferencebacked by aByteBuffer.classBytesArrayclassCompositeBytesReferenceA compositeBytesReferencethat allows joining multiple bytes references into one without copying.classPagedBytesReferenceA page based bytes reference, internally holding the bytes in a paged data structure.classReleasablePagedBytesReferenceAn extension toPagedBytesReferencethat requires releasing its content.Methods in org.elasticsearch.common.bytes that return BytesReference Modifier and Type Method Description static BytesReferenceBytesReference. bytes(XContentBuilder xContentBuilder)Convert anXContentBuilderinto a BytesReference.static BytesReferenceBytesReference. fromByteBuffers(ByteBuffer[] buffers)Returns BytesReference composed of the provided ByteBuffers.BytesReferenceByteBufferReference. slice(int from, int length)BytesReferenceBytesArray. slice(int from, int length)abstract BytesReferenceBytesReference. slice(int from, int length)Slice the bytes from thefromindex up tolength.BytesReferenceCompositeBytesReference. slice(int from, int length)BytesReferencePagedBytesReference. slice(int from, int length)Methods in org.elasticsearch.common.bytes with parameters of type BytesReference Modifier and Type Method Description intBytesReference. compareTo(BytesReference other)static ByteBuffer[]BytesReference. toByteBuffers(BytesReference reference)Returns an array of byte buffers from the given BytesReference.static byte[]BytesReference. toBytes(BytesReference reference)Returns a compact array from the given BytesReference.Constructors in org.elasticsearch.common.bytes with parameters of type BytesReference Constructor Description CompositeBytesReference(BytesReference... references) -
Uses of BytesReference in org.elasticsearch.common.compress
Methods in org.elasticsearch.common.compress that return BytesReference Modifier and Type Method Description BytesReferenceCompressedXContent. compressedReference()Return the compressed bytes as aBytesReference.static BytesReferenceCompressorFactory. uncompress(BytesReference bytes)Decompress the providedBytesReference.static BytesReferenceCompressorFactory. uncompressIfNeeded(BytesReference bytes)Uncompress the provided data, data can be detected as compressed usingCompressorFactory.isCompressed(BytesReference).Methods in org.elasticsearch.common.compress with parameters of type BytesReference Modifier and Type Method Description static CompressorCompressorFactory. compressor(BytesReference bytes)booleanCompressor. isCompressed(BytesReference bytes)static booleanCompressorFactory. isCompressed(BytesReference bytes)booleanDeflateCompressor. isCompressed(BytesReference bytes)static BytesReferenceCompressorFactory. uncompress(BytesReference bytes)Decompress the providedBytesReference.static BytesReferenceCompressorFactory. uncompressIfNeeded(BytesReference bytes)Uncompress the provided data, data can be detected as compressed usingCompressorFactory.isCompressed(BytesReference).Constructors in org.elasticsearch.common.compress with parameters of type BytesReference Constructor Description CompressedXContent(BytesReference data)Create aCompressedXContentout of a serializedToXContentthat may already be compressed. -
Uses of BytesReference in org.elasticsearch.common.io
Methods in org.elasticsearch.common.io that return BytesReference Modifier and Type Method Description static BytesReferenceStreams. readFully(InputStream in)Reads all bytes from the givenInputStreamand closes it afterwards. -
Uses of BytesReference in org.elasticsearch.common.io.stream
Methods in org.elasticsearch.common.io.stream that return BytesReference Modifier and Type Method Description abstract BytesReferenceBytesStream. bytes()BytesReferenceBytesStreamOutput. bytes()BytesReferenceStreamInput. readBytesReference()Reads a bytes reference from this stream, might hold an actual reference to the underlying bytes of the stream.BytesReferenceStreamInput. readBytesReference(int length)Reads a bytes reference from this stream, might hold an actual reference to the underlying bytes of the stream.BytesReferenceStreamInput. readOptionalBytesReference()Reads an optional bytes reference from this stream.Methods in org.elasticsearch.common.io.stream with parameters of type BytesReference Modifier and Type Method Description voidStreamOutput. writeBytesReference(BytesReference bytes)Writes the bytes reference, including a length header.voidStreamOutput. writeOptionalBytesReference(BytesReference bytes)Writes an optional bytes reference including a length header. -
Uses of BytesReference in org.elasticsearch.common.text
Methods in org.elasticsearch.common.text that return BytesReference Modifier and Type Method Description BytesReferenceText. bytes()Returns aBytesReferenceview of the data.Constructors in org.elasticsearch.common.text with parameters of type BytesReference Constructor Description Text(BytesReference bytes) -
Uses of BytesReference in org.elasticsearch.common.xcontent
Methods in org.elasticsearch.common.xcontent that return BytesReference Modifier and Type Method Description static BytesReferenceXContentHelper. toXContent(ToXContent toXContent, XContentType xContentType, boolean humanReadable)Returns the bytes that represent the XContent output of the providedToXContentobject, using the providedXContentType.static BytesReferenceXContentHelper. toXContent(ToXContent toXContent, XContentType xContentType, ToXContent.Params params, boolean humanReadable)Returns the bytes that represent the XContent output of the providedToXContentobject, using the providedXContentType.Methods in org.elasticsearch.common.xcontent with parameters of type BytesReference Modifier and Type Method Description static StringXContentHelper. convertToJson(BytesReference bytes, boolean reformatJson)Deprecated.static StringXContentHelper. convertToJson(BytesReference bytes, boolean reformatJson, boolean prettyPrint)Deprecated.static StringXContentHelper. convertToJson(BytesReference bytes, boolean reformatJson, boolean prettyPrint, XContentType xContentType)static StringXContentHelper. convertToJson(BytesReference bytes, boolean reformatJson, XContentType xContentType)static Tuple<XContentType,Map<String,Object>>XContentHelper. convertToMap(BytesReference bytes, boolean ordered)Deprecated.this method relies on auto-detection of content type.static Tuple<XContentType,Map<String,Object>>XContentHelper. convertToMap(BytesReference bytes, boolean ordered, XContentType xContentType)Converts the given bytes into a map that is optionally ordered.static XContentParserXContentHelper. createParser(NamedXContentRegistry xContentRegistry, DeprecationHandler deprecationHandler, BytesReference bytes)Deprecated.useXContentHelper.createParser(NamedXContentRegistry, DeprecationHandler, BytesReference, XContentType)to avoid content type auto-detectionstatic XContentParserXContentHelper. createParser(NamedXContentRegistry xContentRegistry, DeprecationHandler deprecationHandler, BytesReference bytes, XContentType xContentType)Creates a parser for the bytes using the supplied content-typestatic voidXContentHelper. writeRawField(String field, BytesReference source, XContentBuilder builder, ToXContent.Params params)Deprecated.useXContentHelper.writeRawField(String, BytesReference, XContentType, XContentBuilder, Params)to avoid content type auto-detectionstatic voidXContentHelper. writeRawField(String field, BytesReference source, XContentType xContentType, XContentBuilder builder, ToXContent.Params params)Writes a "raw" (bytes) field, handling cases where the bytes are compressed, and tries to optimize writing usingXContentBuilder.rawField(String, InputStream, XContentType).static XContentTypeXContentHelper. xContentType(BytesReference bytes)Deprecated.the content type should not be guessed except for few cases where we effectively don't know the content type.Method parameters in org.elasticsearch.common.xcontent with type arguments of type BytesReference Modifier and Type Method Description voidObjectParserHelper. declareRawObject(AbstractObjectParser<Value,Context> parser, BiConsumer<Value,BytesReference> consumer, ParseField field)Helper to declare an object that will be parsed into aBytesReference -
Uses of BytesReference in org.elasticsearch.discovery.zen
Methods in org.elasticsearch.discovery.zen that return BytesReference Modifier and Type Method Description static BytesReferencePublishClusterStateAction. serializeDiffClusterState(Diff diff, Version nodeVersion)static BytesReferencePublishClusterStateAction. serializeFullClusterState(ClusterState clusterState, Version nodeVersion) -
Uses of BytesReference in org.elasticsearch.http
Methods in org.elasticsearch.http that return BytesReference Modifier and Type Method Description BytesReferenceHttpRequest. content()Methods in org.elasticsearch.http with parameters of type BytesReference Modifier and Type Method Description HttpResponseHttpRequest. createResponse(RestStatus status, BytesReference content)Create an http response from this request and the supplied status and content. -
Uses of BytesReference in org.elasticsearch.index.cache.request
Methods in org.elasticsearch.index.cache.request with parameters of type BytesReference Modifier and Type Method Description voidShardRequestCache. onCached(Accountable key, BytesReference value)voidShardRequestCache. onRemoval(Accountable key, BytesReference value, boolean evicted) -
Uses of BytesReference in org.elasticsearch.index.engine
Methods in org.elasticsearch.index.engine that return BytesReference Modifier and Type Method Description BytesReferenceEngine.Index. source() -
Uses of BytesReference in org.elasticsearch.index.fieldvisitor
Fields in org.elasticsearch.index.fieldvisitor declared as BytesReference Modifier and Type Field Description protected BytesReferenceFieldsVisitor. sourceMethods in org.elasticsearch.index.fieldvisitor that return BytesReference Modifier and Type Method Description BytesReferenceFieldsVisitor. source() -
Uses of BytesReference in org.elasticsearch.index.get
Methods in org.elasticsearch.index.get that return BytesReference Modifier and Type Method Description BytesReferenceGetResult. internalSourceRef()Internal source representation, might be compressed....BytesReferenceGetResult. sourceRef()Returns bytes reference, also un compress the source if needed.Constructors in org.elasticsearch.index.get with parameters of type BytesReference Constructor Description GetResult(String index, String type, String id, long seqNo, long primaryTerm, long version, boolean exists, BytesReference source, Map<String,DocumentField> documentFields, Map<String,DocumentField> metaFields) -
Uses of BytesReference in org.elasticsearch.index.mapper
Methods in org.elasticsearch.index.mapper that return BytesReference Modifier and Type Method Description BytesReferenceParsedDocument. source()BytesReferenceSourceToParse. source()Methods in org.elasticsearch.index.mapper with parameters of type BytesReference Modifier and Type Method Description voidParsedDocument. setSource(BytesReference source, XContentType xContentType)Constructors in org.elasticsearch.index.mapper with parameters of type BytesReference Constructor Description ParsedDocument(Field version, SeqNoFieldMapper.SequenceIDFields seqID, String id, String type, String routing, List<ParseContext.Document> documents, BytesReference source, XContentType xContentType, Mapping dynamicMappingsUpdate)SourceToParse(String index, String type, String id, BytesReference source, XContentType xContentType)SourceToParse(String index, String type, String id, BytesReference source, XContentType xContentType, String routing) -
Uses of BytesReference in org.elasticsearch.index.query
Methods in org.elasticsearch.index.query that return BytesReference Modifier and Type Method Description BytesReferenceMoreLikeThisQueryBuilder.Item. doc()Constructors in org.elasticsearch.index.query with parameters of type BytesReference Constructor Description WrapperQueryBuilder(BytesReference source)Creates a query builder given a query provided as aBytesReference -
Uses of BytesReference in org.elasticsearch.index.query.functionscore
Methods in org.elasticsearch.index.query.functionscore that return BytesReference Modifier and Type Method Description BytesReferenceDecayFunctionBuilder. getFunctionBytes()Constructors in org.elasticsearch.index.query.functionscore with parameters of type BytesReference Constructor Description DecayFunctionBuilder(String fieldName, BytesReference functionBytes)Constructor parameters in org.elasticsearch.index.query.functionscore with type arguments of type BytesReference Constructor Description DecayFunctionParser(BiFunction<String,BytesReference,DFB> createFromBytes)Create the parser using a method reference to a "create from bytes" constructor for the DecayFunctionBuilder. -
Uses of BytesReference in org.elasticsearch.index.reindex
Methods in org.elasticsearch.index.reindex that return BytesReference Modifier and Type Method Description BytesReferenceRemoteInfo. getQuery()BytesReferenceScrollableHitSource.BasicHit. getSource()BytesReferenceScrollableHitSource.Hit. getSource()The source of the hit.Methods in org.elasticsearch.index.reindex with parameters of type BytesReference Modifier and Type Method Description ScrollableHitSource.BasicHitScrollableHitSource.BasicHit. setSource(BytesReference source, XContentType xContentType)Constructors in org.elasticsearch.index.reindex with parameters of type BytesReference Constructor Description RemoteInfo(String scheme, String host, int port, String pathPrefix, BytesReference query, String username, String password, Map<String,String> headers, TimeValue socketTimeout, TimeValue connectTimeout) -
Uses of BytesReference in org.elasticsearch.index.translog
Fields in org.elasticsearch.index.translog declared as BytesReference Modifier and Type Field Description BytesReferenceTranslog.Source. sourceMethods in org.elasticsearch.index.translog that return BytesReference Modifier and Type Method Description BytesReferenceTranslog.Index. source()Methods in org.elasticsearch.index.translog with parameters of type BytesReference Modifier and Type Method Description Translog.LocationTranslogWriter. add(BytesReference data, long seqNo)Add the given bytes to the translog with the specified sequence number; returns the location the bytes were written to.Constructors in org.elasticsearch.index.translog with parameters of type BytesReference Constructor Description Source(BytesReference source, String routing) -
Uses of BytesReference in org.elasticsearch.indices
Method parameters in org.elasticsearch.indices with type arguments of type BytesReference Modifier and Type Method Description voidIndicesRequestCache. onRemoval(RemovalNotification<org.elasticsearch.indices.IndicesRequestCache.Key,BytesReference> notification) -
Uses of BytesReference in org.elasticsearch.indices.recovery
Methods in org.elasticsearch.indices.recovery that return BytesReference Modifier and Type Method Description BytesReferenceRecoveryFileChunkRequest. content()Methods in org.elasticsearch.indices.recovery with parameters of type BytesReference Modifier and Type Method Description voidMultiFileWriter. writeFileChunk(StoreFileMetaData fileMetaData, long position, BytesReference content, boolean lastChunk)voidRecoveryTarget. writeFileChunk(StoreFileMetaData fileMetaData, long position, BytesReference content, boolean lastChunk, int totalTranslogOps, ActionListener<Void> listener)voidRecoveryTargetHandler. writeFileChunk(StoreFileMetaData fileMetaData, long position, BytesReference content, boolean lastChunk, int totalTranslogOps, ActionListener<Void> listener)writes a partial file chunk to the target storevoidRemoteRecoveryTargetHandler. writeFileChunk(StoreFileMetaData fileMetaData, long position, BytesReference content, boolean lastChunk, int totalTranslogOps, ActionListener<Void> listener)Constructors in org.elasticsearch.indices.recovery with parameters of type BytesReference Constructor Description RecoveryFileChunkRequest(long recoveryId, ShardId shardId, StoreFileMetaData metaData, long position, BytesReference content, boolean lastChunk, int totalTranslogOps, long sourceThrottleTimeInNanos) -
Uses of BytesReference in org.elasticsearch.ingest
Constructors in org.elasticsearch.ingest with parameters of type BytesReference Constructor Description PipelineConfiguration(String id, BytesReference config, XContentType xContentType) -
Uses of BytesReference in org.elasticsearch.rest
Methods in org.elasticsearch.rest that return BytesReference Modifier and Type Method Description BytesReferenceBytesRestResponse. content()BytesReferenceRestRequest. content()protected BytesReferenceRestRequest. content(boolean contentConsumed)abstract BytesReferenceRestResponse. content()The response content.BytesReferenceRestRequest. requiredContent()Methods in org.elasticsearch.rest that return types with arguments of type BytesReference Modifier and Type Method Description Tuple<XContentType,BytesReference>RestRequest. contentOrSourceParam()Get the content of the request or the contents of thesourceparam or throw an exception if both are missing.Constructors in org.elasticsearch.rest with parameters of type BytesReference Constructor Description BytesRestResponse(RestStatus status, String contentType, BytesReference content)Creates a binary response. -
Uses of BytesReference in org.elasticsearch.script
Methods in org.elasticsearch.script with parameters of type BytesReference Modifier and Type Method Description static StoredScriptSourceStoredScriptSource. parse(BytesReference content, XContentType xContentType)This will parse XContent into aStoredScriptSource. -
Uses of BytesReference in org.elasticsearch.script.mustache
Methods in org.elasticsearch.script.mustache that return BytesReference Modifier and Type Method Description BytesReferenceSearchTemplateResponse. getSource()Methods in org.elasticsearch.script.mustache with parameters of type BytesReference Modifier and Type Method Description voidSearchTemplateResponse. setSource(BytesReference source) -
Uses of BytesReference in org.elasticsearch.search
Methods in org.elasticsearch.search that return BytesReference Modifier and Type Method Description BytesReferenceSearchHit. getSourceRef()Returns bytes reference, also uncompress the source if needed.Methods in org.elasticsearch.search with parameters of type BytesReference Modifier and Type Method Description SearchHitSearchHit. sourceRef(BytesReference source)Sets representation, might be compressed.... -
Uses of BytesReference in org.elasticsearch.search.internal
Methods in org.elasticsearch.search.internal that return BytesReference Modifier and Type Method Description BytesReferenceShardSearchRequest. cacheKey()Returns the cache key for this shard search request, based on its content -
Uses of BytesReference in org.elasticsearch.search.lookup
Methods in org.elasticsearch.search.lookup that return BytesReference Modifier and Type Method Description BytesReferenceSourceLookup. internalSourceRef()Internal source representation, might be compressed....Methods in org.elasticsearch.search.lookup with parameters of type BytesReference Modifier and Type Method Description voidSourceLookup. setSource(BytesReference source)static Map<String,Object>SourceLookup. sourceAsMap(BytesReference source)static Tuple<XContentType,Map<String,Object>>SourceLookup. sourceAsMapAndType(BytesReference source) -
Uses of BytesReference in org.elasticsearch.search.suggest.completion
Fields in org.elasticsearch.search.suggest.completion declared as BytesReference Modifier and Type Field Description protected BytesReferenceCompletionSuggestionBuilder. contextBytes -
Uses of BytesReference in org.elasticsearch.tasks
Methods in org.elasticsearch.tasks that return BytesReference Modifier and Type Method Description BytesReferenceTaskResult. getError()Get the error that finished this task.BytesReferenceTaskResult. getResponse()Get the response that this task finished with.Constructors in org.elasticsearch.tasks with parameters of type BytesReference Constructor Description RawTaskStatus(BytesReference status) -
Uses of BytesReference in org.elasticsearch.transport
Methods in org.elasticsearch.transport that return BytesReference Modifier and Type Method Description BytesReferenceBytesTransportRequest. bytes()Methods in org.elasticsearch.transport with parameters of type BytesReference Modifier and Type Method Description intTcpTransport. consumeNetworkReads(TcpChannel channel, BytesReference bytesReference)Consumes bytes that are available from network reads.voidTcpTransport. inboundMessage(TcpChannel channel, BytesReference message)Handles inbound message that has been decoded.static intTcpTransport. readMessageLength(BytesReference networkBytes)Validates the first 6 bytes of the message header and returns the length of the message.voidTcpChannel. sendMessage(BytesReference reference, ActionListener<Void> listener)Sends a tcp message to the channel.Constructors in org.elasticsearch.transport with parameters of type BytesReference Constructor Description BytesTransportRequest(BytesReference bytes, Version version)
-