Writeable, ToXContent, ToXContentObjectpublic class FieldCapabilities extends java.lang.Object implements Writeable, ToXContentObject
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsWriteable.Reader<V>, Writeable.Writer<V>EMPTY_PARAMS| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(java.lang.Object o) |
|
java.lang.String |
getName() |
The name of the field.
|
java.lang.String |
getType() |
The type of the field.
|
int |
hashCode() |
|
java.lang.String[] |
indices() |
The list of indices where this field name is defined as
type,
or null if all indices have the same type for the field. |
boolean |
isAggregatable() |
Whether this field is indexed for search on all indices.
|
boolean |
isSearchable() |
Whether this field can be aggregated on all indices.
|
java.lang.String[] |
nonAggregatableIndices() |
The list of indices where this field is not aggregatable,
or null if the field is aggregatable in all indices.
|
java.lang.String[] |
nonSearchableIndices() |
The list of indices where this field is not searchable,
or null if the field is searchable in all indices.
|
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
|
void |
writeTo(StreamOutput out) |
Write this into the StreamOutput.
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitisFragmentpublic void writeTo(StreamOutput out) throws java.io.IOException
Writeablepublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent in interface ToXContentjava.io.IOExceptionpublic java.lang.String getName()
public boolean isAggregatable()
public boolean isSearchable()
public java.lang.String getType()
public java.lang.String[] indices()
type,
or null if all indices have the same type for the field.public java.lang.String[] nonSearchableIndices()
public java.lang.String[] nonAggregatableIndices()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object