|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.datanucleus.store.mapped.mapping.JavaTypeMapping
org.datanucleus.store.mapped.mapping.SingleFieldMapping
org.datanucleus.store.mapped.mapping.IndexMapping
public final class IndexMapping
Mapping for Index Columns. This class is for internal use only. It should not be used in user mappings nor extended.
| Field Summary |
|---|
| Fields inherited from class org.datanucleus.store.mapped.mapping.JavaTypeMapping |
|---|
datastoreContainer, datastoreMappings, LOCALISER, mmd, referenceMapping, roleForMember, storeMgr, type |
| Constructor Summary | |
|---|---|
IndexMapping()
|
|
| Method Summary | |
|---|---|
java.lang.Class |
getJavaType()
Accessor for the type represented here, returning the class itself |
java.lang.Object |
getSampleValue(ClassLoaderResolver clr)
Accessor for a sample value for this field |
boolean |
includeInFetchStatement()
Accessor for whether to include this column in any fetch statement |
ScalarExpression |
newLiteral(QueryExpression qs,
java.lang.Object value)
Accessor for a new literal for this mapping. |
ScalarExpression |
newScalarExpression(QueryExpression qs,
LogicSetExpression te)
Accessor for a new literal for this mapping. |
| Methods inherited from class org.datanucleus.store.mapped.mapping.SingleFieldMapping |
|---|
equals, getBoolean, getByte, getChar, getDefaultLength, getDouble, getFloat, getInt, getJavaTypeForDatastoreMapping, getLong, getObject, getShort, getString, getValidValues, initialize, prepareDatastoreMapping, setBoolean, setByte, setChar, setDouble, setFloat, setInt, setLong, setObject, setShort, setString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IndexMapping()
| Method Detail |
|---|
public java.lang.Object getSampleValue(ClassLoaderResolver clr)
getSampleValue in class JavaTypeMappingclr - ClassLoader resolver
public boolean includeInFetchStatement()
includeInFetchStatement in class JavaTypeMappingpublic java.lang.Class getJavaType()
getJavaType in class JavaTypeMapping
public ScalarExpression newLiteral(QueryExpression qs,
java.lang.Object value)
newLiteral in class JavaTypeMappingqs - The QueryStatementvalue - The value of the object
public ScalarExpression newScalarExpression(QueryExpression qs,
LogicSetExpression te)
newScalarExpression in class JavaTypeMappingqs - The QueryStatementte - The table Expression
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||