public class H2Column extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static int |
DEFAULT_AUTO_INCREMENT |
protected static int |
DEFAULT_CURRENT_TIME |
protected static int |
DEFAULT_NONE |
protected static int |
DEFAULT_SEQUENCE_ONLY |
protected boolean |
m_bPrimaryKey |
protected boolean |
m_bRequired |
protected int |
m_iDefault |
protected int |
m_iIncrementSequence |
protected int |
m_iInitialSequence |
protected int |
m_iSize |
protected String |
m_sDefault |
protected String |
m_sReferences |
protected String |
m_strName |
protected String |
m_strTableName |
protected String |
m_strType |
| Modifier | Constructor and Description |
|---|---|
protected |
H2Column(Node node,
org.rhq.core.db.setup.Table table) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
buildSequenceSqlExpr(CreateSequenceExprBuilder builder,
String name) |
protected static int |
getClassType() |
protected static List<org.rhq.core.db.setup.Column> |
getColumns(DatabaseMetaData meta,
org.rhq.core.db.setup.Table table,
String username) |
protected static List<org.rhq.core.db.setup.Column> |
getColumns(Node nodeTable,
org.rhq.core.db.setup.Table table,
DatabaseType dbtype) |
protected String |
getCreateCommand(List cmds,
Collection typemaps,
DatabaseType dbtype) |
protected int |
getDefault() |
protected String |
getDefaultCommand(List cmds) |
protected void |
getDropCommands(List cmds) |
protected int |
getIncrementSequence() |
protected int |
getInitialSequence() |
protected String |
getMappedType(Collection<TypeMap> typemaps,
DatabaseType dbtype) |
protected String |
getName() |
protected String |
getOnDelete() |
protected void |
getPostCreateCommands(List cmds) |
protected void |
getPreCreateCommands(List cmds) |
protected String |
getReferences() |
protected String |
getsDefault() |
protected String |
getSequenceCacheSize() |
protected int |
getSize() |
protected String |
getSizeCommand(List cmds) |
protected String |
getType() |
protected boolean |
hasDefault() |
protected static boolean |
isColumn(Node node) |
protected boolean |
isPrimaryKey() |
protected boolean |
isRequired() |
protected void |
validate(String type) |
protected static final int DEFAULT_NONE
protected static final int DEFAULT_AUTO_INCREMENT
protected static final int DEFAULT_CURRENT_TIME
protected static final int DEFAULT_SEQUENCE_ONLY
protected String m_strName
protected String m_strType
protected String m_sReferences
protected int m_iSize
protected boolean m_bPrimaryKey
protected boolean m_bRequired
protected int m_iDefault
protected String m_sDefault
protected int m_iInitialSequence
protected int m_iIncrementSequence
protected String m_strTableName
protected H2Column(Node node, org.rhq.core.db.setup.Table table) throws SAXException
SAXExceptionprotected void getPreCreateCommands(List cmds)
protected void getDropCommands(List cmds)
protected int getDefault()
protected int getInitialSequence()
protected int getIncrementSequence()
protected String getSequenceCacheSize()
protected String getMappedType(Collection<TypeMap> typemaps, DatabaseType dbtype)
protected String getName()
protected String getType()
protected int getSize()
protected boolean isPrimaryKey()
protected boolean isRequired()
protected String getReferences()
protected String getOnDelete()
protected String getsDefault()
protected void validate(String type)
protected String getCreateCommand(List cmds, Collection typemaps, DatabaseType dbtype)
protected static List<org.rhq.core.db.setup.Column> getColumns(Node nodeTable, org.rhq.core.db.setup.Table table, DatabaseType dbtype)
protected static List<org.rhq.core.db.setup.Column> getColumns(DatabaseMetaData meta, org.rhq.core.db.setup.Table table, String username) throws SQLException
SQLExceptionprotected static int getClassType()
protected void getPostCreateCommands(List cmds)
protected boolean hasDefault()
protected static boolean isColumn(Node node)
protected String buildSequenceSqlExpr(CreateSequenceExprBuilder builder, String name)
Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.