Class TableProperties
- java.lang.Object
-
- com.snowflake.connectors.common.table.TableProperties
-
public class TableProperties extends Object
Represents properties of the table object as returned by the "SHOW TABLES ..." expressionNote: the list of properties is not complete.
-
-
Constructor Summary
Constructors Constructor Description TableProperties(Identifier database, Identifier schema, Identifier name, Timestamp createdOn, String kind, String owner, long rows)Creates newTableProperties
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)TimestampgetCreatedOn()createdOnproperty accessorStringgetKind()kindproperty accessorStringgetName()Returns String name of the tableObjectNamegetObjectName()objectNameproperty accessorStringgetOwner()ownerproperty accessorlonggetRows()rowsproperty accessorinthashCode()
-
-
-
Constructor Detail
-
TableProperties
public TableProperties(Identifier database, Identifier schema, Identifier name, Timestamp createdOn, String kind, String owner, long rows)
Creates newTableProperties- Parameters:
database- databaseschema- schemaname- name of the tablecreatedOn- created on propertykind- kindowner- ownerrows- number of rows in the table
-
-
Method Detail
-
getObjectName
public ObjectName getObjectName()
objectNameproperty accessor- Returns:
- objectName property
-
getName
public String getName()
Returns String name of the table- Returns:
- returns String name of the table as returned from SHOW TABLES ...
-
getCreatedOn
public Timestamp getCreatedOn()
createdOnproperty accessor- Returns:
- createdOn property as returned from SHOW TABLES ...
-
getKind
public String getKind()
kindproperty accessor- Returns:
- kind property as returned from SHOW TABLES ...
-
getOwner
public String getOwner()
ownerproperty accessor- Returns:
- name of the owner as returned from SHOW TABLES ...
-
getRows
public long getRows()
rowsproperty accessor- Returns:
- rowcount
-
-