Package oracle.pgx.api.frames.schema
Class ColumnDescriptor
- java.lang.Object
-
- oracle.pgx.api.frames.schema.ColumnDescriptor
-
public final class ColumnDescriptor extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ColumnDescriptorcolumnDescriptor(java.lang.String columnName, DataType columnType)Create a ColumnDescriptor from the name of the column and typebooleanequals(java.lang.Object obj)java.lang.StringgetColumnName()DataTypegetColumnType()inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
columnDescriptor
public static ColumnDescriptor columnDescriptor(java.lang.String columnName, DataType columnType)
Create a ColumnDescriptor from the name of the column and type- Parameters:
columnName- the name of the columncolumnType- the type of data stored in a cell of the column- Returns:
- the column descriptor
-
getColumnName
public java.lang.String getColumnName()
-
getColumnType
public DataType getColumnType()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-