public OIndexManager dropIndex(final String iIndexName) { if (isDistributedCommand()) { distributedDropIndex(iIndexName); return this; } return delegate.dropIndex(iIndexName); }
public OIndex<?> createIndex(final String iName, final String iType, final OIndexDefinition indexDefinition, final int[] clusterIdsToIndex, final OProgressListener progressListener, final ODocument metadata) { if (isDistributedCommand()) { return distributedCreateIndex(iName, iType, indexDefinition, progressListener, metadata, null); } return delegate.createIndex(iName, iType, indexDefinition, clusterIdsToIndex, progressListener, metadata); }
@Override public OIndex<?> createIndex(final String iName, final String iType, final OIndexDefinition iIndexDefinition, final int[] iClusterIdsToIndex, final OProgressListener progressListener, final ODocument metadata, final String algorithm) { if (isDistributedCommand()) { return distributedCreateIndex(iName, iType, iIndexDefinition, progressListener, metadata, algorithm); } return delegate.createIndex(iName, iType, iIndexDefinition, iClusterIdsToIndex, progressListener, metadata, algorithm); }