[+/-]
public interface com.mysql.clusterj.ColumnMetadata {
// Public Methodspublic java.lang.String charsetName();public boolean isPartitionKey();public boolean isPrimaryKey();public java.lang.Class<?> javaType();public int maximumLength();public java.lang.String name();public boolean nullable();public int number();public int precision();public int scale();public com.mysql.clusterj.ColumnMetadata.Type type();
}

public java.lang.String charsetName();Return the charset name.
Parameters | |
return |
the charset name |
public boolean isPartitionKey();Return whether this column is a partition key column.
Parameters | |
return |
true if this column is a partition key column |
public boolean isPrimaryKey();Return whether this column is a primary key column.
Parameters | |
return |
true if this column is a primary key column |
public java.lang.Class<?> javaType();Return the java type of the column.
Parameters | |
return |
the java type of the column |
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 |
public java.lang.String name();Return the name of the column.
Parameters | |
return |
the name of the column |
public boolean nullable();Return whether this column is nullable.
Parameters | |
return |
whether this column is nullable |
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. |
public int precision();Return the precision of the column.
Parameters | |
return |
the precision of the column |
public int scale();Return the scale of the column.
Parameters | |
return |
the scale of the column |
