public class BlobTableInfo extends java.lang.Object implements TableInfo, ShardedTable, StoredTable
RelationInfo.RelationType| Constructor and Description |
|---|
BlobTableInfo(RelationName ident,
java.lang.String index,
int numberOfShards,
org.apache.lucene.util.BytesRef numberOfReplicas,
java.util.Map<java.lang.String,java.lang.Object> tableParameters,
org.apache.lucene.util.BytesRef blobsPath,
Version versionCreated,
Version versionUpgraded,
boolean closed) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.lucene.util.BytesRef |
blobsPath() |
ColumnIdent |
clusteredBy() |
java.util.Collection<Reference> |
columns()
returns the top level columns of this table with predictable order
|
java.lang.String[] |
concreteIndices() |
Reference |
getReference(ColumnIdent columnIdent)
returns information about a column with the given ident.
|
Routing |
getRouting(org.elasticsearch.cluster.ClusterState state,
RoutingProvider routingProvider,
WhereClause whereClause,
RoutingProvider.ShardSelection shardSelection,
SessionContext sessionContext)
Retrieve the routing for the table
|
RelationName |
ident() |
boolean |
isClosed() |
java.util.Iterator<Reference> |
iterator() |
org.apache.lucene.util.BytesRef |
numberOfReplicas() |
int |
numberOfShards() |
java.util.Map<java.lang.String,java.lang.Object> |
parameters() |
java.util.List<ColumnIdent> |
primaryKey() |
RelationInfo.RelationType |
relationType() |
RowGranularity |
rowGranularity() |
java.util.Set<Operation> |
supportedOperations() |
TableParameterInfo |
tableParameterInfo() |
Version |
versionCreated() |
Version |
versionUpgraded() |
public BlobTableInfo(RelationName ident, java.lang.String index, int numberOfShards, org.apache.lucene.util.BytesRef numberOfReplicas, java.util.Map<java.lang.String,java.lang.Object> tableParameters, org.apache.lucene.util.BytesRef blobsPath, @Nullable Version versionCreated, @Nullable Version versionUpgraded, boolean closed)
@Nullable public Reference getReference(ColumnIdent columnIdent)
TableInfogetReference in interface TableInfopublic java.util.Collection<Reference> columns()
RelationInfocolumns in interface RelationInfopublic RowGranularity rowGranularity()
rowGranularity in interface RelationInfopublic RelationName ident()
ident in interface RelationInfopublic Routing getRouting(org.elasticsearch.cluster.ClusterState state, RoutingProvider routingProvider, WhereClause whereClause, RoutingProvider.ShardSelection shardSelection, SessionContext sessionContext)
TableInfoMultiple calls to this method return the same routing as long as the same arguments are provided.
getRouting in interface TableInfopublic java.util.List<ColumnIdent> primaryKey()
primaryKey in interface RelationInfopublic int numberOfShards()
numberOfShards in interface ShardedTablepublic org.apache.lucene.util.BytesRef numberOfReplicas()
numberOfReplicas in interface ShardedTable@Nullable public ColumnIdent clusteredBy()
clusteredBy in interface ShardedTablepublic java.util.Iterator<Reference> iterator()
iterator in interface java.lang.Iterable<Reference>public org.apache.lucene.util.BytesRef blobsPath()
public TableParameterInfo tableParameterInfo()
public java.util.Map<java.lang.String,java.lang.Object> parameters()
parameters in interface RelationInfopublic java.util.Set<Operation> supportedOperations()
supportedOperations in interface RelationInfopublic RelationInfo.RelationType relationType()
relationType in interface RelationInfopublic boolean isClosed()
isClosed in interface ShardedTablepublic java.lang.String[] concreteIndices()
concreteIndices in interface ShardedTable@Nullable public Version versionCreated()
versionCreated in interface StoredTable@Nullable public Version versionUpgraded()
versionUpgraded in interface StoredTable