当前位置: 首页>>代码示例>>Java>>正文


Java IndicesOptions.readIndicesOptions方法代码示例

本文整理汇总了Java中org.elasticsearch.action.support.IndicesOptions.readIndicesOptions方法的典型用法代码示例。如果您正苦于以下问题:Java IndicesOptions.readIndicesOptions方法的具体用法?Java IndicesOptions.readIndicesOptions怎么用?Java IndicesOptions.readIndicesOptions使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在org.elasticsearch.action.support.IndicesOptions的用法示例。


在下文中一共展示了IndicesOptions.readIndicesOptions方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: readFrom

import org.elasticsearch.action.support.IndicesOptions; //导入方法依赖的package包/类
@Override
public void readFrom(StreamInput in) throws IOException {
    super.readFrom(in);
    snapshot = in.readString();
    repository = in.readString();
    indices = in.readStringArray();
    indicesOptions = IndicesOptions.readIndicesOptions(in);
    renamePattern = in.readOptionalString();
    renameReplacement = in.readOptionalString();
    waitForCompletion = in.readBoolean();
    includeGlobalState = in.readBoolean();
    partial = in.readBoolean();
    includeAliases = in.readBoolean();
    settings = readSettingsFromStream(in);
    indexSettings = readSettingsFromStream(in);
    ignoreIndexSettings = in.readStringArray();
}
 
开发者ID:baidu,项目名称:Elasticsearch,代码行数:18,代码来源:RestoreSnapshotRequest.java

示例2: readFrom

import org.elasticsearch.action.support.IndicesOptions; //导入方法依赖的package包/类
@Override
public void readFrom(StreamInput in) throws IOException {
    super.readFrom(in);
    indices = in.readStringArray();
    types = in.readStringArray();
    indicesOptions = IndicesOptions.readIndicesOptions(in);
}
 
开发者ID:justor,项目名称:elasticsearch_my,代码行数:8,代码来源:TypesExistsRequest.java

示例3: readFrom

import org.elasticsearch.action.support.IndicesOptions; //导入方法依赖的package包/类
@Override
public void readFrom(StreamInput in) throws IOException {
    super.readFrom(in);
    indices = in.readStringArray();
    aliases = in.readStringArray();
    indicesOptions = IndicesOptions.readIndicesOptions(in);
}
 
开发者ID:justor,项目名称:elasticsearch_my,代码行数:8,代码来源:GetAliasesRequest.java

示例4: readFrom

import org.elasticsearch.action.support.IndicesOptions; //导入方法依赖的package包/类
@Override
public void readFrom(StreamInput in) throws IOException {
    super.readFrom(in);
    indices = in.readStringArray();
    documentType = in.readOptionalString();
    indicesOptions = IndicesOptions.readIndicesOptions(in);
    int size = in.readVInt();
    for (int i = 0; i < size; i++) {
        PercolateRequest request = new PercolateRequest();
        request.readFrom(in);
        requests.add(request);
    }
}
 
开发者ID:baidu,项目名称:Elasticsearch,代码行数:14,代码来源:MultiPercolateRequest.java

示例5: readFrom

import org.elasticsearch.action.support.IndicesOptions; //导入方法依赖的package包/类
@Override
public void readFrom(StreamInput in) throws IOException {
    super.readFrom(in);
    indices = in.readStringArray();
    readTimeout(in);
    indicesOptions = IndicesOptions.readIndicesOptions(in);
}
 
开发者ID:justor,项目名称:elasticsearch_my,代码行数:8,代码来源:CloseIndexRequest.java

示例6: readFrom

import org.elasticsearch.action.support.IndicesOptions; //导入方法依赖的package包/类
@Override
public void readFrom(StreamInput in) throws IOException {
    super.readFrom(in);
    routingTable = in.readBoolean();
    nodes = in.readBoolean();
    metaData = in.readBoolean();
    blocks = in.readBoolean();
    customs = in.readBoolean();
    indices = in.readStringArray();
    indicesOptions = IndicesOptions.readIndicesOptions(in);
}
 
开发者ID:baidu,项目名称:Elasticsearch,代码行数:12,代码来源:ClusterStateRequest.java

示例7: readFrom

import org.elasticsearch.action.support.IndicesOptions; //导入方法依赖的package包/类
@Override
public void readFrom(StreamInput in) throws IOException {
    super.readFrom(in);
    indices = in.readStringArray();
    indicesOptions = IndicesOptions.readIndicesOptions(in);
    names = in.readStringArray();
    humanReadable = in.readBoolean();
}
 
开发者ID:justor,项目名称:elasticsearch_my,代码行数:9,代码来源:GetSettingsRequest.java

示例8: readFrom

import org.elasticsearch.action.support.IndicesOptions; //导入方法依赖的package包/类
@Override
public void readFrom(StreamInput in) throws IOException {
    super.readFrom(in);
    indices = in.readStringArray();
    types = in.readStringArray();
    indicesOptions = IndicesOptions.readIndicesOptions(in);
    local = in.readBoolean();
    fields = in.readStringArray();
    includeDefaults = in.readBoolean();
}
 
开发者ID:baidu,项目名称:Elasticsearch,代码行数:11,代码来源:GetFieldMappingsRequest.java

示例9: readFrom

import org.elasticsearch.action.support.IndicesOptions; //导入方法依赖的package包/类
@Override
public void readFrom(StreamInput in) throws IOException {
    super.readFrom(in);
    indices = in.readStringArray();
    int nStatus = in.readVInt();
    statuses = EnumSet.noneOf(ClusterHealthStatus.class);
    for (int i = 0; i < nStatus; i++) {
        statuses.add(ClusterHealthStatus.fromValue(in.readByte()));
    }
    indicesOptions = IndicesOptions.readIndicesOptions(in);
}
 
开发者ID:justor,项目名称:elasticsearch_my,代码行数:12,代码来源:IndicesShardStoresRequest.java

示例10: readFrom

import org.elasticsearch.action.support.IndicesOptions; //导入方法依赖的package包/类
@Override
public void readFrom(StreamInput in) throws IOException {
    super.readFrom(in);
    indices = in.readStringArray();
    indicesOptions = IndicesOptions.readIndicesOptions(in);
    type = in.readOptionalString();
    source = in.readString();
    updateAllTypes = in.readBoolean();
    reindex = in.readBoolean();
    readTimeout(in);
}
 
开发者ID:baidu,项目名称:Elasticsearch,代码行数:12,代码来源:PutMappingRequest.java

示例11: readFrom

import org.elasticsearch.action.support.IndicesOptions; //导入方法依赖的package包/类
@Override
public void readFrom(StreamInput in) throws IOException {
    super.readFrom(in);
    snapshot = in.readString();
    repository = in.readString();
    indices = in.readStringArray();
    indicesOptions = IndicesOptions.readIndicesOptions(in);
    settings = readSettingsFromStream(in);
    includeGlobalState = in.readBoolean();
    waitForCompletion = in.readBoolean();
    partial = in.readBoolean();
}
 
开发者ID:justor,项目名称:elasticsearch_my,代码行数:13,代码来源:CreateSnapshotRequest.java

示例12: readFrom

import org.elasticsearch.action.support.IndicesOptions; //导入方法依赖的package包/类
@Override
public void readFrom(StreamInput in) throws IOException {
    super.readFrom(in);
    searchType = SearchType.fromId(in.readByte());

    indices = new String[in.readVInt()];
    for (int i = 0; i < indices.length; i++) {
        indices[i] = in.readString();
    }

    routing = in.readOptionalString();
    preference = in.readOptionalString();

    if (in.readBoolean()) {
        scroll = readScroll(in);
    }

    source = in.readBytesReference();
    extraSource = in.readBytesReference();

    types = in.readStringArray();
    indicesOptions = IndicesOptions.readIndicesOptions(in);

    templateSource = in.readBytesReference();
    if (in.readBoolean()) {
        template = Template.readTemplate(in);
    }
    requestCache = in.readOptionalBoolean();
}
 
开发者ID:baidu,项目名称:Elasticsearch,代码行数:30,代码来源:SearchRequest.java

示例13: readFrom

import org.elasticsearch.action.support.IndicesOptions; //导入方法依赖的package包/类
@Override
public void readFrom(StreamInput in) throws IOException {
    super.readFrom(in);
    indices = in.readStringArray();
    indicesOptions = IndicesOptions.readIndicesOptions(in);
    timeout = readTimeValue(in);
}
 
开发者ID:baidu,项目名称:Elasticsearch,代码行数:8,代码来源:DeleteIndexRequest.java

示例14: readFrom

import org.elasticsearch.action.support.IndicesOptions; //导入方法依赖的package包/类
@Override
public void readFrom(StreamInput in) throws IOException {
    super.readFrom(in);
    indices = in.readStringArray();
    indicesOptions = IndicesOptions.readIndicesOptions(in);
}
 
开发者ID:justor,项目名称:elasticsearch_my,代码行数:7,代码来源:IndicesExistsRequest.java

示例15: readOriginalIndices

import org.elasticsearch.action.support.IndicesOptions; //导入方法依赖的package包/类
public static OriginalIndices readOriginalIndices(StreamInput in) throws IOException {
    return new OriginalIndices(in.readStringArray(), IndicesOptions.readIndicesOptions(in));
}
 
开发者ID:baidu,项目名称:Elasticsearch,代码行数:4,代码来源:OriginalIndices.java


注:本文中的org.elasticsearch.action.support.IndicesOptions.readIndicesOptions方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。