Package net.snowflake.client.jdbc
Class SnowflakeColumnMetadata
- java.lang.Object
-
- net.snowflake.client.jdbc.SnowflakeColumnMetadata
-
- All Implemented Interfaces:
Serializable
public class SnowflakeColumnMetadata extends Object implements Serializable
- Author:
- jhuang
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SnowflakeColumnMetadata(String name, int type, boolean nullable, int length, int precision, int scale, String typeName, boolean fixed, SnowflakeType base, String columnSrcDatabase, String columnSrcSchema, String columnSrcTable, boolean isAutoIncrement)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SnowflakeType
getBase()
String
getColumnSrcDatabase()
String
getColumnSrcSchema()
String
getColumnSrcTable()
int
getLength()
String
getName()
int
getPrecision()
int
getScale()
int
getType()
String
getTypeName()
boolean
isAutoIncrement()
boolean
isFixed()
boolean
isNullable()
void
setAutoIncrement(boolean autoIncrement)
void
setFixed(boolean fixed)
void
setLength(int length)
void
setName(String name)
void
setNullable(boolean nullable)
void
setPrecision(int precision)
void
setScale(int scale)
void
setType(int type)
void
setTypeName(String typeName)
String
toString()
-
-
-
Method Detail
-
getName
public String getName()
-
setName
public void setName(String name)
-
getType
public int getType()
-
setType
public void setType(int type)
-
isNullable
public boolean isNullable()
-
setNullable
public void setNullable(boolean nullable)
-
getLength
public int getLength()
-
setLength
public void setLength(int length)
-
getPrecision
public int getPrecision()
-
setPrecision
public void setPrecision(int precision)
-
getScale
public int getScale()
-
setScale
public void setScale(int scale)
-
getTypeName
public String getTypeName()
-
setTypeName
public void setTypeName(String typeName)
-
isFixed
public boolean isFixed()
-
setFixed
public void setFixed(boolean fixed)
-
getBase
public SnowflakeType getBase()
-
getColumnSrcTable
public String getColumnSrcTable()
-
getColumnSrcSchema
public String getColumnSrcSchema()
-
getColumnSrcDatabase
public String getColumnSrcDatabase()
-
isAutoIncrement
public boolean isAutoIncrement()
-
setAutoIncrement
public void setAutoIncrement(boolean autoIncrement)
-
-