public class TableInfo implements Serializable
Inheritance
Object >
TableInfo
Static Methods
newBuilder(TableId tableId, TableDefinition definition)
public static TableInfo.Builder newBuilder(TableId tableId, TableDefinition definition)
Parameters
Returns
of(TableId tableId, TableDefinition definition)
public static TableInfo of(TableId tableId, TableDefinition definition)
Parameters
Returns
Methods
<T>getDefinition()
public T <T>getDefinition()
Returns the table definition.
Returns
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getCreationTime()
public Long getCreationTime()
Returns the time when this table was created, in milliseconds since the epoch.
Returns
getDescription()
public String getDescription()
Returns a user-friendly description for the table.
Returns
getEncryptionConfiguration()
public EncryptionConfiguration getEncryptionConfiguration()
Returns
getEtag()
Returns the hash of the table resource.
Returns
getExpirationTime()
public Long getExpirationTime()
Returns the time when this table expires, in milliseconds since the epoch. If not present, the
table will persist indefinitely. Expired tables will be deleted and their storage reclaimed.
Returns
getFriendlyName()
public String getFriendlyName()
Returns a user-friendly name for the table.
Returns
getGeneratedId()
public String getGeneratedId()
Returns the service-generated id for the table.
Returns
getLabels()
public Map<String,String> getLabels()
Return a map for labels applied to the table.
Unstable, because labels are experimental.
Returns
getLastModifiedTime()
public Long getLastModifiedTime()
Returns the time when this table was last modified, in milliseconds since the epoch.
Returns
getNumBytes()
public Long getNumBytes()
Returns the size of this table in bytes
Returns
getNumLongTermBytes()
public Long getNumLongTermBytes()
Returns
getNumRows()
public BigInteger getNumRows()
Returns the number of rows of data in this table
Returns
getRequirePartitionFilter()
public Boolean getRequirePartitionFilter()
Returns true if a partition filter (that can be used for partition elimination) is required for
queries over this table.
Returns
getSelfLink()
public String getSelfLink()
Returns an URL that can be used to access the resource again. The returned URL can be used for
get or update requests.
Returns
getTableId()
public TableId getTableId()
Returns the table identity.
Returns
hashCode()
Returns
Overrides
toBuilder()
public TableInfo.Builder toBuilder()
Returns a builder for the table object.
Returns
toString()
Returns
Overrides