Package | Description |
---|---|
org.datanucleus.store.schema.table |
Provides a series of convenience classes for modelling tables and columns that a class and its members map onto.
|
org.datanucleus.store.types |
Package providing basic java type handling for DataNucleus.
|
org.datanucleus.store.types.converters |
Package providing type conversion for member types, using the interface TypeConverter allowing
conversion between some member Java type, and a Java type suitable for persistence in the datastore.
|
Modifier and Type | Field and Description |
---|---|
protected TypeConverter |
MemberColumnMappingImpl.typeConverter |
Modifier and Type | Field and Description |
---|---|
protected Map<FieldRole,TypeConverter> |
MemberColumnMappingImpl.componentConverters |
Modifier and Type | Method and Description |
---|---|
TypeConverter |
MemberColumnMapping.getTypeConverter()
Accessor for the TypeConverter to use for this member-column (if any).
|
TypeConverter |
MemberColumnMappingImpl.getTypeConverter() |
TypeConverter |
MemberColumnMapping.getTypeConverterForComponent(FieldRole role)
Accessor for a component (collection element, map key, map value) converter if defined.
|
TypeConverter |
MemberColumnMappingImpl.getTypeConverterForComponent(FieldRole role) |
protected TypeConverter |
CompleteClassTable.getTypeConverterForMember(AbstractMemberMetaData mmd,
ColumnMetaData[] colmds,
TypeManager typeMgr) |
TypeConverter |
SchemaVerifier.verifyTypeConverterForMember(AbstractMemberMetaData mmd,
TypeConverter conv)
Method to allow the verifier to approve, override, or null out the TypeConverter to be used for a member.
|
Modifier and Type | Method and Description |
---|---|
protected ColumnImpl |
CompleteClassTable.addEmbeddedColumn(String colName,
TypeConverter typeConv) |
void |
MemberColumnMapping.setTypeConverter(TypeConverter typeConv)
Method to set the TypeConverter used by this member-column.
|
void |
MemberColumnMappingImpl.setTypeConverter(TypeConverter typeConv) |
void |
MemberColumnMapping.setTypeConverterForComponent(FieldRole role,
TypeConverter conv)
Method to set a component TypeConverter for such as a collection element, map key or map value.
|
void |
MemberColumnMappingImpl.setTypeConverterForComponent(FieldRole role,
TypeConverter conv) |
TypeConverter |
SchemaVerifier.verifyTypeConverterForMember(AbstractMemberMetaData mmd,
TypeConverter conv)
Method to allow the verifier to approve, override, or null out the TypeConverter to be used for a member.
|
Constructor and Description |
---|
MemberColumnMappingImpl(AbstractMemberMetaData mmd,
Column[] cols,
TypeConverter typeConv) |
Modifier and Type | Field and Description |
---|---|
protected Map<String,TypeConverter> |
TypeManagerImpl.autoApplyConvertersByType
Map of TypeConverter keyed by type name that we should default to for this type (user-defined).
|
protected Map<String,TypeConverter> |
TypeManagerImpl.typeConverterByName
Map of TypeConverter keyed by their symbolic name.
|
protected Map<TypeConverter,Class> |
TypeManagerImpl.typeConverterDatastoreTypeByConverter
Cache of TypeConverter datastore type, keyed by the converter.
|
protected Map<Class,Map<Class,TypeConverter>> |
TypeManagerImpl.typeConverterMap
Map of (Map of TypeConverter keyed by the datastore type), keyed by the member type.
|
protected Map<TypeConverter,Class> |
TypeManagerImpl.typeConverterMemberTypeByConverter
Cache of TypeConverter member type, keyed by the converter.
|
Modifier and Type | Method and Description |
---|---|
TypeConverter |
TypeManagerImpl.getAutoApplyTypeConverterForType(Class memberType) |
TypeConverter |
TypeManager.getAutoApplyTypeConverterForType(Class memberType)
Method to return a TypeConverter that should be applied by default for the specified java (member) type.
|
TypeConverter |
TypeManagerImpl.getDefaultTypeConverterForType(Class memberType) |
TypeConverter |
TypeManager.getDefaultTypeConverterForType(Class memberType)
Accessor for the default type converter for the provided Java type.
|
TypeConverter |
TypeManagerImpl.getTypeConverterForName(String converterName) |
TypeConverter |
TypeManager.getTypeConverterForName(String converterName)
Accessor for the type converter with the provided name.
|
TypeConverter |
TypeManagerImpl.getTypeConverterForType(Class memberType,
Class datastoreType) |
TypeConverter |
TypeManager.getTypeConverterForType(Class memberType,
Class datastoreType)
Accessor for the type converter for the provided Java type and its datastore type.
|
Modifier and Type | Method and Description |
---|---|
Collection<TypeConverter> |
TypeManagerImpl.getTypeConvertersForType(Class memberType) |
Collection<TypeConverter> |
TypeManager.getTypeConvertersForType(Class memberType)
Accessor for the available type converters for the provided Java type.
|
Modifier and Type | Method and Description |
---|---|
Class |
TypeManagerImpl.getDatastoreTypeForTypeConverter(TypeConverter conv,
Class memberType)
Method to return the datastore type for the specified TypeConverter.
|
Class |
TypeManager.getDatastoreTypeForTypeConverter(TypeConverter conv,
Class memberType)
Method to return the datastore type for the specified TypeConverter.
|
Class |
TypeManagerImpl.getMemberTypeForTypeConverter(TypeConverter conv,
Class datastoreType)
Method to return the member type for the specified TypeConverter.
|
Class |
TypeManager.getMemberTypeForTypeConverter(TypeConverter conv,
Class datastoreType)
Method to return the member type for the specified TypeConverter.
|
void |
TypeManagerImpl.registerConverter(String name,
TypeConverter converter,
Class memberType,
Class dbType,
boolean autoApply,
String autoApplyType) |
void |
TypeManager.registerConverter(String name,
TypeConverter converter,
Class memberType,
Class dbType,
boolean autoApply,
String autoApplyType)
Register a TypeConverter with the TypeManager process for specific attribute/db types.
|
Modifier and Type | Class and Description |
---|---|
class |
BigDecimalArrayByteBufferConverter
Convenience class to handle Java serialisation of a BigDecimal[] object to/from ByteBuffer.
|
class |
BigDecimalDoubleConverter
Class to handle the conversion between java.math.BigDecimal and a Double form.
|
class |
BigDecimalStringConverter
Class to handle the conversion between java.math.BigDecimal and a String form.
|
class |
BigIntegerArrayByteBufferConverter
Convenience class to handle Java serialisation of a BigInteger[] object to/from ByteBuffer.
|
class |
BigIntegerLongConverter
Class to handle the conversion between java.math.BigInteger and a Long form.
|
class |
BigIntegerStringConverter
Class to handle the conversion between java.math.BigInteger and a String form.
|
class |
BitSetStringConverter
Class to handle the conversion between java.util.BitSet and a String form.
|
class |
BooleanArrayByteBufferConverter
Convenience class to handle Java serialisation of a boolean[] object to/from ByteBuffer.
|
class |
BooleanIntegerConverter
Class to handle the conversion between java.lang.Boolean and an Integer (0, 1) form.
|
class |
BooleanYNConverter
Class to handle the conversion between java.lang.Boolean and a Character ("Y", "N") form.
|
class |
BufferedImageByteArrayConverter
Convenience class to handle Java serialisation of a BufferedImage object to/from byte[].
|
class |
BufferedImageByteBufferConverter
Convenience class to handle Java serialisation of a BufferedImage object to/from ByteBuffer.
|
class |
ByteArrayByteBufferConverter
Convenience class to handle Java serialisation of a byte[] object to/from ByteBuffer.
|
class |
ByteObjectArrayByteBufferConverter
Convenience class to handle Java serialisation of a Byte[] object to/from ByteBuffer.
|
class |
CalendarComponentsConverter
Class to handle the conversion between java.util.Calendar and (Long, String) being the time in millisecs plus the timezone.
|
class |
CalendarDateConverter
Class to handle the conversion between java.util.Calendar and a java.util.Date form.
|
class |
CalendarStringConverter
Class to handle the conversion between java.util.Calendar and a String form.
|
class |
CalendarTimestampConverter
Class to handle the conversion between java.util.Calendar and a java.sql.Timestamp.
|
class |
CharacterStringConverter
Class to handle the conversion between Character and a String form.
|
class |
CharArrayByteBufferConverter
Convenience class to handle Java serialisation of a char[] object to/from ByteBuffer.
|
class |
ClassStringConverter
Class to handle the conversion between java.lang.Class and a String form.
|
class |
ColorComponentsConverter
TypeConverter for storing a java.awt.Color as its 4 components (red, green, blue, alpha).
|
class |
ColorStringConverter
Class to handle the conversion between java.awt.Color (RGBA) and a String form.
|
class |
CurrencyStringConverter
Class to handle the conversion between java.util.Currency and a String form.
|
class |
DateLongConverter
Class to handle the conversion between java.util.Date and a Long form.
|
class |
DateStringConverter
Class to handle the conversion between java.util.Date and a String form.
|
class |
DoubleArrayByteBufferConverter
Convenience class to handle Java serialisation of a double[] object to/from ByteBuffer.
|
class |
DurationDoubleConverter
Class to handle the conversion between java.time.Duration and a Double form.
|
class |
DurationLongConverter
Class to handle the conversion between java.time.Duration and a Long form.
|
class |
DurationStringConverter
Class to handle the conversion between java.time.Duration and a String form.
|
class |
FloatArrayByteBufferConverter
Convenience class to handle Java serialisation of a float[] object to/from ByteBuffer.
|
class |
InstantDateConverter
Class to handle the conversion between java.time.Instant and java.util.Date.
|
class |
InstantLongConverter
Class to handle the conversion between java.time.Instant and Long (of the epoch millisecs).
|
class |
InstantStringConverter
Class to handle the conversion between java.time.Instant and a String form.
|
class |
InstantTimestampConverter
Class to handle the conversion between java.time.Instant and java.sql.Timestamp
|
class |
IntArrayByteBufferConverter
Convenience class to handle Java serialisation of a int[] object to/from ByteBuffer.
|
class |
IntegerStringConverter
Class to handle the conversion between java.lang.Integer and a String form.
|
class |
LocalDateDateConverter
Class to handle the conversion between java.time.LocalDate and java.util.Date.
|
class |
LocalDateSqlDateConverter
Class to handle the conversion between java.time.LocalDate and java.sql.Date.
|
class |
LocalDateStringConverter
Class to handle the conversion between java.time.LocalDate and a String form.
|
class |
LocalDateTimeDateConverter
Class to handle the conversion between java.time.LocalDateTime and java.util.Date.
|
class |
LocalDateTimeStringConverter
Class to handle the conversion between java.time.LocalDateTime and a String form.
|
class |
LocalDateTimeTimestampConverter
Class to handle the conversion between java.time.LocalDateTime and java.sql.Timestamp
|
class |
LocaleStringConverter
Class to handle the conversion between java.util.Locale and a String form.
|
class |
LocalTimeDateConverter
Class to handle the conversion between java.time.LocalTime and java.util.Date.
|
class |
LocalTimeLongConverter
Class to handle the conversion between java.time.LocalTime and a long form (nanos of day).
|
class |
LocalTimeSqlTimeConverter
Class to handle the conversion between java.time.LocalTime and java.sql.Time.
|
class |
LocalTimeStringConverter
Class to handle the conversion between java.time.LocalTime and a String form.
|
class |
LongArrayByteBufferConverter
Convenience class to handle Java serialisation of a long[] object to/from ByteBuffer.
|
class |
LongStringConverter
Class to handle the conversion between java.lang.Long and a String form.
|
class |
MonthDayComponentsConverter
Class to handle the conversion between java.time.MonthDay and int[] (the month and the day).
|
class |
MonthDayDateConverter
Class to handle the conversion between java.time.MonthDay and java.util.Date.
|
class |
MonthDaySqlDateConverter
Class to handle the conversion between java.time.MonthDay and java.sql.Date.
|
class |
MonthDayStringConverter
Class to handle the conversion between java.time.MonthDay and String.
|
class |
OffsetDateTimeDateConverter
Class to handle the conversion between java.time.OffsetDateTime and java.util.Date.
|
class |
OffsetDateTimeStringConverter
Class to handle the conversion between java.time.OffsetDateTime and a String form.
|
class |
OffsetDateTimeTimestampConverter
Class to handle the conversion between java.time.OffsetDateTime and java.sql.Timestamp
|
class |
OffsetTimeLongConverter
Class to handle the conversion between java.time.OffsetTime and a long form (nanos of day).
|
class |
OffsetTimeSqlTimeConverter
Class to handle the conversion between java.time.OffsetTime and java.sql.Time.
|
class |
OffsetTimeStringConverter
Class to handle the conversion between java.time.OffsetTime and a String form.
|
class |
PeriodStringConverter
Class to handle the conversion between java.time.Period and a String form.
|
class |
SerializableByteArrayConverter
Convenience class to handle Java serialisation of a Serializable object to/from byte[].
|
class |
SerializableByteBufferConverter
Convenience class to handle Java serialisation of a Serializable object to/from ByteBuffer.
|
class |
SerializableStringConverter
Convenience class to handle Java serialisation of a Serializable object to/from String.
|
class |
ShortArrayByteBufferConverter
Convenience class to handle Java serialisation of a short[] object to/from ByteBuffer.
|
class |
SqlDateDateConverter
Class to handle the conversion between java.sql.Date and a java.util.Date form.
|
class |
SqlDateLongConverter
Class to handle the conversion between java.sql.Date and a Long form.
|
class |
SqlDateStringConverter
Class to handle the conversion between java.sql.Date and a String form.
|
class |
SqlTimeDateConverter
Class to handle the conversion between java.sql.Time and a java.util.Date form.
|
class |
SqlTimeLongConverter
Class to handle the conversion between java.sql.Time and a Long form.
|
class |
SqlTimestampDateConverter
Class to handle the conversion between java.sql.Timestamp and a java.util.Date form.
|
class |
SqlTimestampLongConverter
Class to handle the conversion between java.sql.Timestamp and a Long form.
|
class |
SqlTimestampStringConverter
Class to handle the conversion between java.sql.Timestamp and a String form.
|
class |
SqlTimeStringConverter
Class to handle the conversion between java.sql.Time and a String form.
|
class |
StringBufferStringConverter
Class to handle the conversion between java.lang.StringBuffer and a String form.
|
class |
StringBuilderStringConverter
Class to handle the conversion between java.lang.StringBuilder and a String form.
|
class |
TimeZoneStringConverter
Class to handle the conversion between java.util.TimeZone and a String form.
|
class |
URIStringConverter
Class to handle the conversion between java.net.URI and a String form.
|
class |
URLStringConverter
Class to handle the conversion between java.net.URL and a String form.
|
class |
UUIDStringConverter
Class to handle the conversion between java.util.UUID and a String form.
|
class |
YearIntegerConverter
Class to handle the conversion between java.time.Year and Integer.
|
class |
YearMonthComponentsConverter
Class to handle the conversion between java.time.YearMonth and int[] (the year and the month).
|
class |
YearMonthDateConverter
Class to handle the conversion between java.time.YearMonth and java.util.Date.
|
class |
YearMonthSqlDateConverter
Class to handle the conversion between java.time.YearMonth and java.sql.Date.
|
class |
YearMonthStringConverter
Class to handle the conversion between java.time.YearMonth and String.
|
class |
YearStringConverter
Class to handle the conversion between java.time.Year and String.
|
class |
ZonedDateTimeStringConverter
Class to handle the conversion between java.time.ZonedDateTime and a String form.
|
class |
ZonedDateTimeTimestampConverter
Class to handle the conversion between java.time.ZonedDateTime and java.sql.Timestamp.
|
class |
ZoneIdStringConverter
Class to handle the conversion between java.time.ZoneId and String.
|
class |
ZoneOffsetStringConverter
Class to handle the conversion between java.time.ZoneOffset and String.
|
Copyright © 2018. All rights reserved.