MySQL 5.6.14 Source Code Document
|
Classes | |
enum | Status |
Public Member Functions | |
String | getName () |
Class<?> | getOidClass () |
String | getTableName () |
DomainFieldHandler | getFieldHandler (String fieldName) |
Class< T > | getProxyClass () |
T | newInstance () |
void | objectMarkModified (ValueHandler handler, String fieldName) |
void | objectSetKeys (Object keys, Object instance) |
void | objectSetValues (ResultData rs, ValueHandler handler) |
void | objectSetValuesExcept (ResultData rs, ValueHandler handler, String indexName) |
void | objectSetCacheManager (CacheManager cm, Object instance) |
void | objectResetModified (ValueHandler handler) |
void | operationGetValues (Operation op) |
void | operationGetKeys (Operation op) |
void | operationGetValues (Operation op, BitSet fields) |
void | operationSetKeys (ValueHandler handler, Operation op) |
void | operationSetModifiedValues (ValueHandler handler, Operation op) |
void | operationSetValuesExcept (ValueHandler handler, Operation op, String index) |
void | operationSetModifiedNonPKValues (ValueHandler handler, Operation op) |
T | getInstance (ValueHandler handler) |
ValueHandler | createKeyValueHandler (Object keys) |
ValueHandler | getValueHandler (Object instance) |
ValueHandler | getValueHandler (OpenJPAStateManager sm, NdbOpenJPAStoreManager store) |
int[] | getKeyFieldNumbers () |
void | newInstance (OpenJPAStateManager sm) |
CandidateIndexImpl[] | createCandidateIndexes () |
boolean | load (OpenJPAStateManager sm, NdbOpenJPAStoreManager store, BitSet fields, JDBCFetchConfiguration fetch, Object context) throws SQLException |
void | load (OpenJPAStateManager sm, NdbOpenJPAStoreManager store, JDBCFetchConfiguration fetch, NdbOpenJPAResult result) throws SQLException |
Set < com.mysql.clusterj.core.store.Column > | getStoreColumns (BitSet fields) |
NdbOpenJPADomainFieldHandlerImpl | getDomainFieldHandler (FieldMapping fm) |
int[][] | createIndexHandler (NdbOpenJPADomainFieldHandlerImpl fieldHandler, Dictionary dictionary, String indexName) |
com.mysql.clusterj.core.store.Table | getTable () |
Table | getStoreTable () |
PartitionKey | createPartitionKey (ValueHandler handler) |
NdbOpenJPADomainTypeHandlerImpl<?> | registerDependency (ClassMapping mapping) |
void | initializeRelations () |
boolean | isSupportedType () |
String | getReasons () |
String | toString () |
String[] | getFieldNames () |
void | operationSetValues (ValueHandler valueHandler, Operation op) |
void | operationSetNonPKValues (ValueHandler valueHandler, Operation op) |
Protected Member Functions | |
void | registerPrimaryKeyColumn (NdbOpenJPADomainFieldHandlerImpl fmd, String columnName) |
Definition at line 55 of file NdbOpenJPADomainTypeHandlerImpl.java.
|
inline |
Create a list of candidate indexes to evaluate query terms and decide what type of scan to use.
Definition at line 419 of file NdbOpenJPADomainTypeHandlerImpl.java.
|
inline |
Register an index from a field and return a special int[][] that contains all indexHandlerImpls in which the field participates. One index can be defined in the field annotation and this index is identified here. This method is called by the FieldHandler constructor after the Index annotation is processed and the mapped column name is known. TODO: Currently, only one index is supported per field.
fieldHandler | the FieldHandler |
indexName | the index name |
dictionary | the dictionary used to validate index metadata |
Definition at line 537 of file NdbOpenJPADomainTypeHandlerImpl.java.
|
inline |
Create a partition key for any operation that knows the primary key.
handler | the handler that contains the values of the primary key |
Definition at line 559 of file NdbOpenJPADomainTypeHandlerImpl.java.
|
inline |
Get the DomainFieldHandler for the related field.
fm | the related field mapping |
Definition at line 513 of file NdbOpenJPADomainTypeHandlerImpl.java.
|
inline |
Get StoreColumns for fields identified by the BitSet
Definition at line 492 of file NdbOpenJPADomainTypeHandlerImpl.java.
|
inline |
Load the fields for the persistent instance owned by the sm.
sm | the StateManager |
store | the StoreManager |
fields | the fields to load |
fetch | the FetchConfiguration |
Definition at line 435 of file NdbOpenJPADomainTypeHandlerImpl.java.
|
inline |
Load the fields for the persistent instance owned by the sm. This is the normal way for fields to be loaded into the instance from a result.
sm | the StateManager |
store | the StoreManager |
fetch | the FetchConfiguration |
Definition at line 480 of file NdbOpenJPADomainTypeHandlerImpl.java.
|
inline |
Specify that the key columns are to be returned in the result.
op | the operation |
Definition at line 293 of file NdbOpenJPADomainTypeHandlerImpl.java.
|
inline |
Specify the fields to be returned in the result.
op | the operation |
fields | the fields to be returned by the operation |
Definition at line 303 of file NdbOpenJPADomainTypeHandlerImpl.java.
|
inline |
Register a dependency on another class. If the class is not already known, add it to the list of dependencies.
Definition at line 575 of file NdbOpenJPADomainTypeHandlerImpl.java.
|
inlineprotected |
Register a primary key column field. This is used to associate primary key and partition key column names with field handlers. This method is called by the NdbOpenJPADomainFieldHandlerImpl constructor after the mapped column name is known. It is only called by fields that are mapped to primary key columns.
fmd | the field handler instance calling us |
columnName | the name of the column |
Definition at line 209 of file NdbOpenJPADomainTypeHandlerImpl.java.