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


Java TransportDeleteIndexAction类代码示例

本文整理汇总了Java中org.elasticsearch.action.admin.indices.delete.TransportDeleteIndexAction的典型用法代码示例。如果您正苦于以下问题:Java TransportDeleteIndexAction类的具体用法?Java TransportDeleteIndexAction怎么用?Java TransportDeleteIndexAction使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


TransportDeleteIndexAction类属于org.elasticsearch.action.admin.indices.delete包,在下文中一共展示了TransportDeleteIndexAction类的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: BlobIndices

import org.elasticsearch.action.admin.indices.delete.TransportDeleteIndexAction; //导入依赖的package包/类
@Inject
public BlobIndices(Settings settings,
                   Provider<TransportCreateIndexAction> transportCreateIndexActionProvider,
                   Provider<TransportDeleteIndexAction> transportDeleteIndexActionProvider,
                   Provider<TransportUpdateSettingsAction> transportUpdateSettingsActionProvider,
                   IndicesService indicesService,
                   IndicesLifecycle indicesLifecycle,
                   BlobEnvironment blobEnvironment,
                   ClusterService clusterService) {
    super(settings);
    this.transportCreateIndexActionProvider = transportCreateIndexActionProvider;
    this.transportDeleteIndexActionProvider = transportDeleteIndexActionProvider;
    this.transportUpdateSettingsActionProvider = transportUpdateSettingsActionProvider;
    this.indicesService = indicesService;
    this.indicesLifecycle = indicesLifecycle;
    this.blobEnvironment = blobEnvironment;
    clusterService.addFirst(this);
    logger.setLevel("debug");
}
 
开发者ID:baidu,项目名称:Elasticsearch,代码行数:20,代码来源:BlobIndices.java

示例2: ESDeletePartitionTask

import org.elasticsearch.action.admin.indices.delete.TransportDeleteIndexAction; //导入依赖的package包/类
public ESDeletePartitionTask(UUID jobId,
                             TransportDeleteIndexAction transport,
                             ESDeletePartitionNode node) {
    super(jobId);
    this.transport = transport;
    this.request = new DeleteIndexRequest(node.indices());
    if (node.indices().length > 1) {
        /**
         * table is partitioned, in case of concurrent "delete from partitions"
         * it could be that some partitions are already deleted,
         * so ignore it if some are missing
         */
        this.request.indicesOptions(IndicesOptions.lenientExpandOpen());
    } else {
        this.request.indicesOptions(IndicesOptions.strictExpandOpen());
    }
    this.listener = new DeleteIndexListener(result);
}
 
开发者ID:baidu,项目名称:Elasticsearch,代码行数:19,代码来源:ESDeletePartitionTask.java

示例3: DropTableTask

import org.elasticsearch.action.admin.indices.delete.TransportDeleteIndexAction; //导入依赖的package包/类
public DropTableTask(UUID jobId,
                     TransportDeleteIndexTemplateAction deleteTemplateAction,
                     TransportDeleteIndexAction deleteIndexAction,
                     DropTableNode node) {
    super(jobId);
    this.ifExists = node.ifExists();
    this.tableInfo = node.tableInfo();
    this.deleteTemplateAction = deleteTemplateAction;
    this.deleteIndexAction = deleteIndexAction;
}
 
开发者ID:baidu,项目名称:Elasticsearch,代码行数:11,代码来源:DropTableTask.java

示例4: TransportActionProvider

import org.elasticsearch.action.admin.indices.delete.TransportDeleteIndexAction; //导入依赖的package包/类
@Inject
public TransportActionProvider(Provider<TransportFetchNodeAction> transportFetchNodeActionProvider,
                               Provider<TransportCreateIndexAction> transportCreateIndexActionProvider,
                               Provider<TransportDeleteIndexAction> transportDeleteIndexActionProvider,
                               Provider<TransportGetIndexTemplatesAction> transportGetIndexTemplatesActionProvider,
                               Provider<TransportPutIndexTemplateAction> transportPutIndexTemplateActionProvider,
                               Provider<TransportDeleteIndexTemplateAction> transportDeleteIndexTemplateActionProvider,
                               Provider<TransportClusterUpdateSettingsAction> transportClusterUpdateSettingsActionProvider,
                               Provider<TransportShardDeleteAction> transportShardDeleteActionProvider,
                               Provider<TransportDeleteAction> transportDeleteActionProvider,
                               Provider<TransportGetAction> transportGetActionProvider,
                               Provider<TransportMultiGetAction> transportMultiGetActionProvider,
                               Provider<TransportShardUpsertAction> transportShardUpsertActionProvider,
                               Provider<TransportKillAllNodeAction> transportKillAllNodeActionProvider,
                               Provider<TransportPutMappingAction> transportPutMappingActionProvider,
                               Provider<TransportRefreshAction> transportRefreshActionProvider,
                               Provider<TransportUpdateSettingsAction> transportUpdateSettingsActionProvider,
                               Provider<TransportJobAction> transportJobInitActionProvider,
                               Provider<TransportBulkCreateIndicesAction> transportBulkCreateIndicesActionProvider,
                               Provider<TransportKillJobsNodeAction> transportKillJobsNodeActionProvider,
                               Provider<TransportPutRepositoryAction> transportPutRepositoryActionProvider,
                               Provider<TransportDeleteRepositoryAction> transportDeleteRepositoryActionProvider,
                               Provider<TransportDeleteSnapshotAction> transportDeleteSnapshotActionProvider,
                               Provider<TransportCreateSnapshotAction> transportCreateSnapshotActionProvider,
                               Provider<TransportRestoreSnapshotAction> transportRestoreSnapshotActionProvider,
                               Provider<TransportAddUserOrResetPasswdAction> transportAddUserOrResetPasswdAction, 
                               Provider<TransportDropUserAction> transportDropUserAction, 
                               Provider<TransportGrantOrRevokeUserPrivilegeAction> transportGrantOrRevokeUserPrivilegeAction, 
                               Provider<TransportShowUserPropertyAction> transportShowUserPropertyAction, 
                               Provider<TransportResetWhitelistAction> transportResetWhitelistAction,
                               Provider<TransportCreateTenantAction> transportCreateTenantAction,
                               Provider<TransportDeleteTenantAction> transportDeleteTenantAction,
                               Provider<TransportMigrateIndexTenantAction> transportMigrateIndexTenantAction,
                               Provider<TransportModifyTenantNodesAction> transportModifyTenantNodesAction,
                               Provider<TransportShowTenantsAction> transportShowTenantsAction,
                               Provider<TransportAlterTenantPropertyAction> transportAlterTenantPropertyAction,
                               Provider<TransportSQLAction> transportSQLActionProvider) {
    this.transportCreateIndexActionProvider = transportCreateIndexActionProvider;
    this.transportDeleteIndexActionProvider = transportDeleteIndexActionProvider;
    this.transportPutIndexTemplateActionProvider = transportPutIndexTemplateActionProvider;
    this.transportGetIndexTemplatesActionProvider = transportGetIndexTemplatesActionProvider;
    this.transportDeleteIndexTemplateActionProvider = transportDeleteIndexTemplateActionProvider;
    this.transportClusterUpdateSettingsActionProvider = transportClusterUpdateSettingsActionProvider;
    this.transportShardDeleteActionProvider = transportShardDeleteActionProvider;
    this.transportDeleteActionProvider = transportDeleteActionProvider;
    this.transportGetActionProvider = transportGetActionProvider;
    this.transportMultiGetActionProvider = transportMultiGetActionProvider;
    this.transportShardUpsertActionProvider = transportShardUpsertActionProvider;
    this.transportKillAllNodeActionProvider = transportKillAllNodeActionProvider;
    this.transportFetchNodeActionProvider = transportFetchNodeActionProvider;
    this.transportPutMappingActionProvider = transportPutMappingActionProvider;
    this.transportRefreshActionProvider = transportRefreshActionProvider;
    this.transportUpdateSettingsActionProvider = transportUpdateSettingsActionProvider;
    this.transportJobInitActionProvider = transportJobInitActionProvider;
    this.transportBulkCreateIndicesActionProvider = transportBulkCreateIndicesActionProvider;
    this.transportKillJobsNodeActionProvider = transportKillJobsNodeActionProvider;
    this.transportPutRepositoryActionProvider = transportPutRepositoryActionProvider;
    this.transportDeleteRepositoryActionProvider = transportDeleteRepositoryActionProvider;
    this.transportDeleteSnapshotActionProvider = transportDeleteSnapshotActionProvider;
    this.transportCreateSnapshotActionProvider = transportCreateSnapshotActionProvider;
    this.transportRestoreSnapshotActionProvider = transportRestoreSnapshotActionProvider;
    this.transportAddUserOrResetPasswdAction = transportAddUserOrResetPasswdAction;
    this.transportDropUserAction = transportDropUserAction;
    this.transportResetWhitelistAction = transportResetWhitelistAction;
    this.transportGrantOrRevokeUserPrivilegeAction = transportGrantOrRevokeUserPrivilegeAction;
    this.transportShowUserPropertyAction = transportShowUserPropertyAction;
    this.transportCreateTenantAction = transportCreateTenantAction;
    this.transportDeleteTenantAction = transportDeleteTenantAction;
    this.transportMigrateIndexTenantAction = transportMigrateIndexTenantAction;
    this.transportModifyTenantNodesAction = transportModifyTenantNodesAction;
    this.transportShowTenantsAction = transportShowTenantsAction;
    this.transportAlterTenantPropertyAction = transportAlterTenantPropertyAction;
    this.transportSQLActionProvider = transportSQLActionProvider;
}
 
开发者ID:baidu,项目名称:Elasticsearch,代码行数:75,代码来源:TransportActionProvider.java

示例5: transportDeleteIndexAction

import org.elasticsearch.action.admin.indices.delete.TransportDeleteIndexAction; //导入依赖的package包/类
public TransportDeleteIndexAction transportDeleteIndexAction() {
    return transportDeleteIndexActionProvider.get();
}
 
开发者ID:baidu,项目名称:Elasticsearch,代码行数:4,代码来源:TransportActionProvider.java


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