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 TypeMethodDescriptionboolean
canMatch()
boolean
get()
Get the field capabilities mapReturns the index mapping hash associated with this index if existsGet the index nameint
hashCode()
void
writeTo
(StreamOutput out) Write this into the StreamOutput.
-
Constructor Details
-
FieldCapabilitiesIndexResponse
-
-
Method Details
-
writeTo
Description copied from interface:Writeable
Write this into the StreamOutput.- Specified by:
writeTo
in 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()
-