4.3.1.9 Interface ColumnMetadata

4.3.1.9.1 Synopsis
4.3.1.9.2 charsetName()
4.3.1.9.3 columnType()
4.3.1.9.4 isPartitionKey()
4.3.1.9.5 isPrimaryKey()
4.3.1.9.6 javaType()
4.3.1.9.7 maximumLength()
4.3.1.9.8 name()
4.3.1.9.9 nullable()
4.3.1.9.10 number()
4.3.1.9.11 precision()
4.3.1.9.12 scale()

4.3.1.9.1 Synopsis
 public interface ColumnMetadata {
// Public Methods  public String charsetName();
  public ColumnType columnType();
  public boolean isPartitionKey();
  public boolean isPrimaryKey();
  public Class<?> javaType();
  public int maximumLength();
  public String name();
  public boolean nullable();
  public int number();
  public int precision();
  public int scale();
}
4.3.1.9.2 charsetName()
public String charsetName();

Return the charset name.

Parameters

return

the charset name

4.3.1.9.3 columnType()
public ColumnType columnType();

Return the type of the column.

Parameters

return

the type of the column

4.3.1.9.4 isPartitionKey()
public boolean isPartitionKey();

Return whether this column is a partition key column.

Parameters

return

true if this column is a partition key column

4.3.1.9.5 isPrimaryKey()
public boolean isPrimaryKey();

Return whether this column is a primary key column.

Parameters

return

true if this column is a primary key column

4.3.1.9.6 javaType()
public Class<?> javaType();

Return the java type of the column.

Parameters

return

the java type of the column

4.3.1.9.7 maximumLength()
public int maximumLength();

Return the maximum number of bytes that can be stored in the column after translating the characters using the character set.

Parameters

return

the maximum number of bytes that can be stored in the column

4.3.1.9.8 name()
public String name();

Return the name of the column.

Parameters

return

the name of the column

4.3.1.9.9 nullable()
public boolean nullable();

Return whether this column is nullable.

Parameters

return

whether this column is nullable

4.3.1.9.10 number()
public int number();

Return the column number. This number is used as the first parameter in the get and set methods of DynamicColumn.

Parameters

return

the column number.

4.3.1.9.11 precision()
public int precision();

Return the precision of the column.

Parameters

return

the precision of the column

4.3.1.9.12 scale()
public int scale();

Return the scale of the column.

Parameters

return

the scale of the column