public class Column
extends java.lang.Object
Constructor and Description |
---|
Column(java.lang.String name,
boolean isQuoted)
create a Column with name and indicator of being single-quoted?
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Column otherColumn)
returns true if 'this' column equals the given otherColumn.
|
java.lang.String |
getName()
Returns string name of column
|
boolean |
isQuoted()
Returns true if column values are single quoted
|
java.lang.String |
toString()
Returns a String schema specification of this column, its name in/not-in double quotes
|
public Column(java.lang.String name, boolean isQuoted)
name
- of columnisQuoted
- is its values single-quoted?public java.lang.String getName()
public boolean isQuoted()
public boolean equals(Column otherColumn)
otherColumn
- that should be equal to 'this' columnpublic java.lang.String toString()
toString
in class java.lang.Object