public final class FieldDeclaration extends Object
Table.getActiveFieldDeclaration()), so after DROP TABLE the next
CREATE TABLE of the name replaces the fields a read may use, while a read before the DROP keeps the first.| Modifier and Type | Field and Description |
|---|---|
static long |
NEVER_DROPPED
No statement of the script drops the table after this declaration.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
declares(TableColumn node)
Whether this declaration made the field node
node. |
boolean |
declaresFieldsOf(TableColumn node)
Whether the declared type of
node (a column or a field) lists its fields. |
long |
getCreated()
The ordinal of the CREATE TABLE statement; negative when unknown.
|
long |
getDropped()
The ordinal of the DROP TABLE that ends this declaration,
NEVER_DROPPED when none does. |
public static final long NEVER_DROPPED
public long getCreated()
public long getDropped()
NEVER_DROPPED when none does.public boolean declaresFieldsOf(TableColumn node)
node (a column or a field) lists its fields.public boolean declares(TableColumn node)
node.