| java.lang.Object com.quadcap.sql.Constraint com.quadcap.sql.ForeignKeyConstraint com.quadcap.sql.ExportedKeyConstraint
ExportedKeyConstraint | public class ExportedKeyConstraint extends ForeignKeyConstraint implements Externalizable(Code) | | A hidden 'ExportedKeyConstraint' is created for tables that
are referenced as foreign keys by other tables.
author: Stan Bailes |
ExportedKeyConstraint | public ExportedKeyConstraint()(Code) | | Default constructor
|
getExportedKeys | ExportedKeys getExportedKeys(Session session) throws IOException(Code) | | Utility function to get / lazy-create the session context used
to keep track of key additions and removals generated by the current
statement.
|
setForeignKeyCols | void setForeignKeyCols(int[] fCols)(Code) | | |
Methods inherited from com.quadcap.sql.ForeignKeyConstraint | public void add(Session session) throws SQLException, IOException(Code)(Java Doc) public void applyDelete(Session session, Row row, long rowId, Constraint activeIndex) throws SQLException, IOException(Code)(Java Doc) public void applyInsert(Session session, Row row, long rowId, Constraint activeIndex) throws SQLException, IOException(Code)(Java Doc) public void applyUpdate(Session session, byte[] oldKey, Row row, Row oldRow, long rowId, Constraint activeIndex) throws SQLException, IOException(Code)(Java Doc) public void checkDelete(Session session, Row row, long rowId) throws SQLException, IOException(Code)(Java Doc) public void checkInsert(Session session, Row row) throws SQLException, IOException(Code)(Java Doc) public void checkUpdate(Session session, Row row, long rowId) throws SQLException, IOException(Code)(Java Doc) abstract public void delete(Session session) throws SQLException, IOException(Code)(Java Doc) final Comparator getComparator() throws SQLException(Code)(Java Doc) public int[] getFCols(Database db) throws SQLException, IOException(Code)(Java Doc) public Table getFTable(Database db) throws SQLException, IOException(Code)(Java Doc) public String getFTableName()(Code)(Java Doc) final public boolean isDeferred()(Code)(Java Doc) boolean isSelfReferencing(Database db) throws IOException, SQLException(Code)(Java Doc) public byte[] makeFKey(Session session, Row row) throws IOException, SQLException(Code)(Java Doc) public byte[] makeKey(Session session, Row row) throws SQLException(Code)(Java Doc) public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException(Code)(Java Doc) public void resetColumns() throws SQLException(Code)(Java Doc) public void setFTableName(String s)(Code)(Java Doc) public void setForeignColumn(String name)(Code)(Java Doc) public String toString()(Code)(Java Doc) public void writeExternal(ObjectOutput out) throws IOException(Code)(Java Doc)
|
Methods inherited from com.quadcap.sql.Constraint | abstract public void add(Session session) throws SQLException, IOException(Code)(Java Doc) abstract public void applyDelete(Session session, Row row, long rowId, Constraint activeIndex) throws SQLException, IOException(Code)(Java Doc) abstract public void applyInsert(Session session, Row row, long rowId, Constraint activeIndex) throws SQLException, IOException(Code)(Java Doc) abstract public void applyUpdate(Session session, byte[] oldKey, Row row, Row oldRow, long rowId, Constraint activeIndex) throws SQLException, IOException(Code)(Java Doc) abstract public void checkDelete(Session session, Row row, long rowId) throws SQLException, IOException(Code)(Java Doc) abstract public void checkInsert(Session session, Row row) throws SQLException, IOException(Code)(Java Doc) abstract public void checkUpdate(Session session, byte[] oldKey, Row row, Row oldRow, long rowId, Constraint activeIndex) throws SQLException, IOException(Code)(Java Doc) abstract public void delete(Session session) throws SQLException, IOException(Code)(Java Doc) public Column getColumn() throws SQLException(Code)(Java Doc) public Column getColumn(int c) throws SQLException(Code)(Java Doc) public int getColumnCount()(Code)(Java Doc) public Vector getColumnNames() throws SQLException(Code)(Java Doc) public int[] getColumns() throws SQLException(Code)(Java Doc) public Btree getIndex(Database db) throws IOException(Code)(Java Doc) public String getName()(Code)(Java Doc) public int getPriority()(Code)(Java Doc) public int getRefAction(int opType)(Code)(Java Doc) public String getRefActionString(int opType)(Code)(Java Doc) public int getSpec()(Code)(Java Doc) public Table getTable()(Code)(Java Doc) public boolean isDeferred()(Code)(Java Doc) public boolean isGlobal()(Code)(Java Doc) public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException(Code)(Java Doc) public void resetColumns() throws SQLException(Code)(Java Doc) public void setColumn(Column column)(Code)(Java Doc) public void setDeferrable(int def)(Code)(Java Doc) public void setGlobal(boolean g)(Code)(Java Doc) public void setName(String name)(Code)(Java Doc) public void setRefSpec(int ref)(Code)(Java Doc) public void setTable(Table table) throws SQLException(Code)(Java Doc) public String toString()(Code)(Java Doc) public void undoAdd(Session session) throws SQLException, IOException(Code)(Java Doc) public void undoDelete(Session session) throws SQLException, IOException(Code)(Java Doc) public void writeExternal(ObjectOutput out) throws IOException(Code)(Java Doc)
|
|
|