![]() |
Quadcap Embeddable Database |
Inheritance diagram for com.quadcap.sql.PrimaryKeyConstraint:

Definition at line 70 of file PrimaryKeyConstraint.java.
Public Member Functions | |
| PrimaryKeyConstraint () | |
| Default constructor. | |
| PrimaryKeyConstraint (String name) | |
| Explicit constructor for single column constraint, taking column name. | |
| PrimaryKeyConstraint (String name, Vector names) | |
| Explicit constructor for multiple column constraint with specified constraint name and column names. | |
| void | readExternal (ObjectInput in) throws IOException, ClassNotFoundException |
| Read me from a stream. | |
| void | writeExternal (ObjectOutput out) throws IOException |
| Write me to a stream. | |
| int | getIndexColumnCount () |
| Return the number of columns in the index. | |
| byte[] | makeKey (Session session, Row row, long rowId) throws SQLException |
| IndexConstraint.makeKey() I use the column(s) I was given. | |
| String | constraintType () |
| Yes, I *am* the primary key constraint. | |
| void | setTable (Table t) throws SQLException |
| Let me tell you what you've going to do... | |
|
|
Default constructor.
Definition at line 75 of file PrimaryKeyConstraint.java. |
|
|
Explicit constructor for single column constraint, taking column name.
Definition at line 80 of file PrimaryKeyConstraint.java. |
|
||||||||||||
|
Explicit constructor for multiple column constraint with specified constraint name and column names.
Definition at line 88 of file PrimaryKeyConstraint.java. |
|
|
Yes, I *am* the primary key constraint.
Reimplemented from com.quadcap.sql.UniqueConstraint. Definition at line 131 of file PrimaryKeyConstraint.java. |
|
|
Return the number of columns in the index.
Reimplemented from com.quadcap.sql.UniqueConstraint. Definition at line 115 of file PrimaryKeyConstraint.java. References com.quadcap.sql.Constraint.getColumnCount(). |
|
||||||||||||||||
|
IndexConstraint.makeKey() I use the column(s) I was given.
Reimplemented from com.quadcap.sql.UniqueConstraint. Definition at line 122 of file PrimaryKeyConstraint.java. References com.quadcap.sql.Constraint.getColumns(), and com.quadcap.sql.PrimaryKeyConstraint.makeKey(). Referenced by com.quadcap.sql.PrimaryKeyConstraint.makeKey(). |
|
|
Read me from a stream.
Reimplemented from com.quadcap.sql.UniqueConstraint. Definition at line 97 of file PrimaryKeyConstraint.java. References com.quadcap.sql.PrimaryKeyConstraint.readExternal(). Referenced by com.quadcap.sql.PrimaryKeyConstraint.readExternal(). |
|
|
Let me tell you what you've going to do...
Reimplemented from com.quadcap.sql.Constraint. Definition at line 136 of file PrimaryKeyConstraint.java. References com.quadcap.sql.Constraint.getColumns(), and com.quadcap.sql.PrimaryKeyConstraint.setTable(). Referenced by com.quadcap.sql.PrimaryKeyConstraint.setTable(). |
|
|
Write me to a stream.
Reimplemented from com.quadcap.sql.UniqueConstraint. Definition at line 108 of file PrimaryKeyConstraint.java. References com.quadcap.sql.PrimaryKeyConstraint.writeExternal(). Referenced by com.quadcap.sql.PrimaryKeyConstraint.writeExternal(). |