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 ColumnDescriptor
columnDescriptor(java.lang.String columnName, DataType columnType)
Create a ColumnDescriptor from the name of the column and typeboolean
equals(java.lang.Object obj)
java.lang.String
getColumnName()
DataType
getColumnType()
int
hashCode()
java.lang.String
toString()
-
-
-
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:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-