Class AliasMetadata.Builder
java.lang.Object
org.elasticsearch.cluster.metadata.AliasMetadata.Builder
- Enclosing class:
- AliasMetadata
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionalias()
build()
filter(CompressedXContent filter)
static AliasMetadata
fromXContent(org.elasticsearch.common.xcontent.XContentParser parser)
indexRouting(String indexRouting)
searchRouting(String searchRouting)
static void
toXContent(AliasMetadata aliasMetadata, org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params)
writeIndex(Boolean writeIndex)
-
Constructor Details
-
Builder
-
-
Method Details
-
alias
-
filter
-
filter
-
filter
-
routing
-
indexRouting
-
searchRouting
-
writeIndex
-
isHidden
-
build
-
toXContent
public static void toXContent(AliasMetadata aliasMetadata, org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws IOException- Throws:
IOException
-
fromXContent
public static AliasMetadata fromXContent(org.elasticsearch.common.xcontent.XContentParser parser) throws IOException- Throws:
IOException
-