|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use XContentType | |
---|---|
org.elasticsearch.action.explain | Explain action. |
org.elasticsearch.action.index | Index action. |
org.elasticsearch.action.percolate | |
org.elasticsearch.action.update | |
org.elasticsearch.client | The client module allowing to easily perform actions/operations. |
org.elasticsearch.common.settings.loader | Settings loader (parser) allowing to parse different "source" formats into
a Settings . |
org.elasticsearch.common.xcontent | |
org.elasticsearch.common.xcontent.json | |
org.elasticsearch.common.xcontent.smile | |
org.elasticsearch.common.xcontent.yaml | |
org.elasticsearch.index.query | |
org.elasticsearch.search.builder |
Uses of XContentType in org.elasticsearch.action.explain |
---|
Methods in org.elasticsearch.action.explain with parameters of type XContentType | |
---|---|
BytesReference |
ExplainSourceBuilder.buildAsBytes(XContentType contentType)
|
Uses of XContentType in org.elasticsearch.action.index |
---|
Methods in org.elasticsearch.action.index with parameters of type XContentType | |
---|---|
IndexRequest |
IndexRequest.contentType(XContentType contentType)
Sets the content type that will be used when generating a document from user provided objects (like Map). |
IndexRequestBuilder |
IndexRequestBuilder.setContentType(XContentType contentType)
The content type that will be used to generate a document from user provided objects (like Map). |
IndexRequestBuilder |
IndexRequestBuilder.setSource(Map<String,Object> source,
XContentType contentType)
Index the Map as the provided content type. |
IndexRequest |
IndexRequest.source(Map source,
XContentType contentType)
Index the Map as the provided content type. |
Uses of XContentType in org.elasticsearch.action.percolate |
---|
Methods in org.elasticsearch.action.percolate with parameters of type XContentType | |
---|---|
PercolateRequestBuilder |
PercolateRequestBuilder.setSource(Map<String,Object> source,
XContentType contentType)
Index the Map as the provided content type. |
PercolateRequest |
PercolateRequest.source(Map source,
XContentType contentType)
|
Uses of XContentType in org.elasticsearch.action.update |
---|
Methods in org.elasticsearch.action.update with parameters of type XContentType | |
---|---|
UpdateRequest |
UpdateRequest.doc(Map source,
XContentType contentType)
Sets the doc to use for updates when a script is not specified. |
protected GetResult |
TransportUpdateAction.extractGetResult(UpdateRequest request,
long version,
Map<String,Object> source,
XContentType sourceContentType,
BytesReference sourceAsBytes)
|
UpdateRequestBuilder |
UpdateRequestBuilder.setDoc(Map source,
XContentType contentType)
Sets the doc to use for updates when a script is not specified. |
UpdateRequestBuilder |
UpdateRequestBuilder.setUpsert(Map source,
XContentType contentType)
Sets the doc source of the update request to be used when the document does not exists. |
UpdateRequest |
UpdateRequest.upsert(Map source,
XContentType contentType)
Sets the doc source of the update request to be used when the document does not exists. |
Uses of XContentType in org.elasticsearch.client |
---|
Fields in org.elasticsearch.client declared as XContentType | |
---|---|
static XContentType |
Requests.CONTENT_TYPE
The content type used to generate request builders (query / search). |
static XContentType |
Requests.INDEX_CONTENT_TYPE
The default content type to use to generate source documents when indexing. |
Uses of XContentType in org.elasticsearch.common.settings.loader |
---|
Methods in org.elasticsearch.common.settings.loader that return XContentType | |
---|---|
abstract XContentType |
XContentSettingsLoader.contentType()
|
XContentType |
YamlSettingsLoader.contentType()
|
XContentType |
JsonSettingsLoader.contentType()
|
Uses of XContentType in org.elasticsearch.common.xcontent |
---|
Methods in org.elasticsearch.common.xcontent that return XContentType | |
---|---|
XContentType |
XContentParser.contentType()
|
XContentType |
XContentBuilder.contentType()
|
XContentType |
XContentGenerator.contentType()
|
static XContentType |
XContentType.fromRestContentType(String contentType)
|
XContentType |
XContent.type()
The type this content handles and produces. |
static XContentType |
XContentType.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static XContentType[] |
XContentType.values()
Returns an array containing the constants of this enum type, in the order they are declared. |
static XContentType |
XContentFactory.xContentType(byte[] data)
Guesses the content type based on the provided bytes. |
static XContentType |
XContentFactory.xContentType(byte[] data,
int offset,
int length)
Guesses the content type based on the provided bytes. |
static XContentType |
XContentFactory.xContentType(BytesReference bytes)
Guesses the content type based on the provided bytes. |
static XContentType |
XContentFactory.xContentType(CharSequence content)
Guesses the content type based on the provided char sequence. |
static XContentType |
XContentFactory.xContentType(InputStream si)
Guesses the content type based on the provided input stream. |
Methods in org.elasticsearch.common.xcontent that return types with arguments of type XContentType | |
---|---|
static Tuple<XContentType,Map<String,Object>> |
XContentHelper.convertToMap(byte[] data,
boolean ordered)
|
static Tuple<XContentType,Map<String,Object>> |
XContentHelper.convertToMap(byte[] data,
int offset,
int length,
boolean ordered)
|
static Tuple<XContentType,Map<String,Object>> |
XContentHelper.convertToMap(BytesReference bytes,
boolean ordered)
|
Methods in org.elasticsearch.common.xcontent with parameters of type XContentType | |
---|---|
static XContentBuilder |
XContentFactory.contentBuilder(XContentType type)
Returns a binary content builder for the provided content type. |
static XContentBuilder |
XContentFactory.contentBuilder(XContentType type,
OutputStream outputStream)
Constructs a xcontent builder that will output the result into the provided output stream. |
static XContent |
XContentFactory.xContent(XContentType type)
Returns the XContent for the provided content type. |
Uses of XContentType in org.elasticsearch.common.xcontent.json |
---|
Methods in org.elasticsearch.common.xcontent.json that return XContentType | |
---|---|
XContentType |
JsonXContentGenerator.contentType()
|
XContentType |
JsonXContentParser.contentType()
|
XContentType |
JsonXContent.type()
|
Uses of XContentType in org.elasticsearch.common.xcontent.smile |
---|
Methods in org.elasticsearch.common.xcontent.smile that return XContentType | |
---|---|
XContentType |
SmileXContentParser.contentType()
|
XContentType |
SmileXContentGenerator.contentType()
|
XContentType |
SmileXContent.type()
|
Uses of XContentType in org.elasticsearch.common.xcontent.yaml |
---|
Methods in org.elasticsearch.common.xcontent.yaml that return XContentType | |
---|---|
XContentType |
YamlXContentParser.contentType()
|
XContentType |
YamlXContentGenerator.contentType()
|
XContentType |
YamlXContent.type()
|
Uses of XContentType in org.elasticsearch.index.query |
---|
Methods in org.elasticsearch.index.query with parameters of type XContentType | |
---|---|
BytesReference |
QueryBuilder.buildAsBytes(XContentType contentType)
|
BytesReference |
BaseQueryBuilder.buildAsBytes(XContentType contentType)
|
Uses of XContentType in org.elasticsearch.search.builder |
---|
Methods in org.elasticsearch.search.builder with parameters of type XContentType | |
---|---|
BytesReference |
SearchSourceBuilder.buildAsBytes(XContentType contentType)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |