MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
com.mysql.clusterj.jdbc.DomainTypeHandlerImpl< T > Class Reference
Inheritance diagram for com.mysql.clusterj.jdbc.DomainTypeHandlerImpl< T >:
Collaboration diagram for com.mysql.clusterj.jdbc.DomainTypeHandlerImpl< T >:

Public Member Functions

boolean isSupportedType ()
ValueHandler getValueHandler (Object instance) throws IllegalArgumentException
void objectResetModified (ValueHandler handler)
void objectSetKeys (Object arg0, Object arg1)

Static Public Member Functions

static DomainTypeHandlerImpl<?> getDomainTypeHandler (String tableName, Dictionary dictionary)

Protected Member Functions

 DomainTypeHandlerImpl (String tableName, Dictionary dictionary)

Detailed Description

This instance manages the persistent representation of a jdbc statement or result set. The class also provides the factory for DomainTypeHandlers via the static method getDomainTypeHandler(String tableName, Dictionary dictionary).

Parameters
Tthe class of the persistence-capable type

Definition at line 48 of file DomainTypeHandlerImpl.java.

Constructor & Destructor Documentation

com.mysql.clusterj.jdbc.DomainTypeHandlerImpl< T >.DomainTypeHandlerImpl ( String  tableName,
Dictionary  dictionary 
)
inlineprotected

Construct a DomainTypeHandler for a table. Find primary key columns, partition key columns, and indexes. Construct a DomainTypeHandler for each column in the table.

Definition at line 89 of file DomainTypeHandlerImpl.java.

Here is the call graph for this function:

Member Function Documentation

static DomainTypeHandlerImpl<?> com.mysql.clusterj.jdbc.DomainTypeHandlerImpl< T >.getDomainTypeHandler ( String  tableName,
Dictionary  dictionary 
)
inlinestatic

Find a domain type handler by table name or create a new one. If the table does not exist in ndb, return null.

Parameters
tableNamethe name of the table
dictionarythe dictionary
Returns
the domain type handle for the table or null if the table does not exist in ndb

Definition at line 65 of file DomainTypeHandlerImpl.java.

boolean com.mysql.clusterj.jdbc.DomainTypeHandlerImpl< T >.isSupportedType ( )
inline

Is this type supported?

Definition at line 148 of file DomainTypeHandlerImpl.java.


The documentation for this class was generated from the following file: