Package com.datastax.driver.core
Class ColumnMetadata
- java.lang.Object
-
- com.datastax.driver.core.ColumnMetadata
-
public class ColumnMetadata extends Object
Describes a Column.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object other)StringgetName()Returns the name of the column.AbstractTableMetadatagetParent()Returns the parent object of this column.DataTypegetType()Returns the type of the column.inthashCode()booleanisStatic()Whether this column is a static column.StringtoString()
-
-
-
Method Detail
-
getName
public String getName()
Returns the name of the column.- Returns:
- the name of the column.
-
getParent
public AbstractTableMetadata getParent()
Returns the parent object of this column. This can be aTableMetadataor aMaterializedViewMetadataobject.- Returns:
- the parent object of this column.
-
getType
public DataType getType()
Returns the type of the column.- Returns:
- the type of the column.
-
isStatic
public boolean isStatic()
Whether this column is a static column.- Returns:
- Whether this column is a static column or not.
-
-