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)
Creates newTableProperties
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Timestamp
getCreatedOn()
createdOn
property accessorString
getKind()
kind
property accessorString
getName()
Returns String name of the tableObjectName
getObjectName()
objectName
property accessorString
getOwner()
owner
property accessorint
hashCode()
-
-
-
Constructor Detail
-
TableProperties
public TableProperties(Identifier database, Identifier schema, Identifier name, Timestamp createdOn, String kind, String owner)
Creates newTableProperties
- Parameters:
database
- databaseschema
- schemaname
- name of the tablecreatedOn
- created on propertykind
- kindowner
- owner
-
-
Method Detail
-
getObjectName
public ObjectName getObjectName()
objectName
property 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()
createdOn
property accessor- Returns:
- createdOn property as returned from SHOW TABLES ...
-
getKind
public String getKind()
kind
property accessor- Returns:
- kind property as returned from SHOW TABLES ...
-
getOwner
public String getOwner()
owner
property accessor- Returns:
- name of the owner as returned from SHOW TABLES ...
-
-