Module org.elasticsearch.server
Class FieldCapabilitiesIndexResponse
java.lang.Object
org.elasticsearch.action.fieldcaps.FieldCapabilitiesIndexResponse
- All Implemented Interfaces:
Writeable
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Constructor Summary
ConstructorsConstructorDescriptionFieldCapabilitiesIndexResponse(String indexName, String indexMappingHash, Map<String, IndexFieldCapabilities> responseMap, boolean canMatch, IndexMode indexMode) -
Method Summary
Modifier and TypeMethodDescriptionbooleancanMatch()booleanget()Get the field capabilities mapReturns the index mapping hash associated with this index if existsGet the index nameinthashCode()voidwriteTo(StreamOutput out) Write this into the StreamOutput.
-
Constructor Details
-
FieldCapabilitiesIndexResponse
-
-
Method Details
-
writeTo
Description copied from interface:WriteableWrite this into the StreamOutput.- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
getIndexName
Get the index name -
getIndexMappingHash
Returns the index mapping hash associated with this index if exists -
getIndexMode
-
canMatch
public boolean canMatch() -
get
Get the field capabilities map -
equals
-
hashCode
public int hashCode()
-