ShardedTableInfo Class
- java.
lang. Object - TableInfo
- com.
microsoft. azure. elasticdb. shard. schema. ShardedTableInfo
- com.
public class ShardedTableInfo extends TableInfo
Represents information about a single sharded table.
Constructor Summary
Constructor | Description | |
---|---|---|
ShardedTableInfo() | ||
ShardedTableInfo(String tableName, String columnName) |
Initializes a new instance of the ShardedTableInfo class. |
|
ShardedTableInfo(String schemaName, String tableName, String columnName) |
Initializes a new instance of the ShardedTableInfo class. |
Method Summary
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Overrides the Equals() method of Object class. Determines whether the specified object is equal to the current object. |
final boolean |
equals(ShardedTableInfo other)
Determines whether the specified ShardedTableInfo object is equal to the current object. |
final String | getKeyColumnName() |
int |
hashCode()
Calculates the hash code for this instance. |
Inherited Members
Constructor Details
ShardedTableInfo
public ShardedTableInfo()
ShardedTableInfo
public ShardedTableInfo(String tableName, String columnName)
Initializes a new instance of the ShardedTableInfo class.
Parameters:
ShardedTableInfo
public ShardedTableInfo(String schemaName, String tableName, String columnName)
Initializes a new instance of the ShardedTableInfo class.
Parameters:
Method Details
equals
public boolean equals(Object obj)
Overrides the Equals() method of Object class. Determines whether the specified object is equal to the current object.
Parameters:
Returns:
equals
public final boolean equals(ShardedTableInfo other)
Determines whether the specified ShardedTableInfo object is equal to the current object.
Parameters:
Returns:
getKeyColumnName
public final String getKeyColumnName()
hashCode
public int hashCode()
Calculates the hash code for this instance.
Returns:
Applies to
Azure SDK for Java