Java Code Examples for org.elasticsearch.cluster.metadata.MetaData#XContentContext

The following examples show how to use org.elasticsearch.cluster.metadata.MetaData#XContentContext . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ViewsMetaData.java    From crate with Apache License 2.0 4 votes vote down vote up
@Override
public EnumSet<MetaData.XContentContext> context() {
    return EnumSet.of(MetaData.XContentContext.GATEWAY, MetaData.XContentContext.SNAPSHOT);
}
 
Example 2
Source File: UserDefinedFunctionsMetaData.java    From crate with Apache License 2.0 4 votes vote down vote up
@Override
public EnumSet<MetaData.XContentContext> context() {
    return EnumSet.of(MetaData.XContentContext.GATEWAY, MetaData.XContentContext.SNAPSHOT);
}
 
Example 3
Source File: UsersMetaData.java    From crate with Apache License 2.0 4 votes vote down vote up
@Override
public EnumSet<MetaData.XContentContext> context() {
    return EnumSet.of(MetaData.XContentContext.GATEWAY, MetaData.XContentContext.SNAPSHOT);
}
 
Example 4
Source File: UsersPrivilegesMetaData.java    From crate with Apache License 2.0 4 votes vote down vote up
@Override
public EnumSet<MetaData.XContentContext> context() {
    return EnumSet.of(MetaData.XContentContext.GATEWAY, MetaData.XContentContext.SNAPSHOT);
}
 
Example 5
Source File: LicenseKey.java    From crate with Apache License 2.0 4 votes vote down vote up
@Override
public EnumSet<MetaData.XContentContext> context() {
    return EnumSet.of(MetaData.XContentContext.GATEWAY, MetaData.XContentContext.SNAPSHOT);
}