public class ColumnMeta
extends java.lang.Object
Modifier | Constructor | Description |
---|---|---|
protected |
ColumnMeta() |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getDataType() |
Returns the datatype for this column.
|
java.lang.String |
getDescription() |
Returns this column's description.
|
java.util.Map<java.lang.String,java.lang.Object> |
getExtras() |
Returns a map of additional non-standard metadata items for this column.
|
java.lang.String[] |
getFlags() |
Returns a list of strings corresponding to flags that are set on
this column.
|
java.lang.String |
getName() |
Returns this column's name.
|
java.lang.String |
getUcd() |
Returns a UCD associated with this column.
|
java.lang.String |
getUnit() |
Returns this column's unit string.
|
java.lang.String |
getUtype() |
Returns a Utype associated with this column.
|
boolean |
hasFlag(java.lang.String flagTxt) |
Convenience function to find out if a given flag value is present.
|
boolean |
isIndexed() |
Indicates whether this column is declared indexed.
|
boolean |
isNullable() |
Indicates whether this column is declared nullable.
|
boolean |
isPrimary() |
Indicates whether this column is declared primary.
|
java.lang.String |
toString() |
Returns this column's name.
|
public java.lang.String getName()
<column_name>
,
hence <identifier>
production
(a <regular_identifier>
without quotes
or a <delimited_identifer>
including quotes).
It should not be quoted or otherwise adjusted for use in an ADQL query.public java.lang.String getDescription()
public java.lang.String getUnit()
public java.lang.String getUcd()
public java.lang.String getUtype()
public java.lang.String getDataType()
public java.lang.String[] getFlags()
public boolean isIndexed()
public boolean isPrimary()
public boolean isNullable()
public java.util.Map<java.lang.String,java.lang.Object> getExtras()
public boolean hasFlag(java.lang.String flagTxt)
flagTxt
- flag value to queryflagTxt
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.