Uses of Interface
org.datanucleus.store.types.converters.TypeConverter
Packages that use TypeConverter
Package
Description
Provides a series of convenience classes for modelling tables and columns that a class and its members map onto.
Package providing basic java type handling for DataNucleus.
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.
-
Uses of TypeConverter in org.datanucleus.store.schema.table
Fields in org.datanucleus.store.schema.table declared as TypeConverterFields in org.datanucleus.store.schema.table with type parameters of type TypeConverterModifier and TypeFieldDescriptionprotected Map
<FieldRole, TypeConverter> MemberColumnMappingImpl.componentConverters
Methods in org.datanucleus.store.schema.table that return TypeConverterModifier and TypeMethodDescriptionMemberColumnMapping.getTypeConverter()
Accessor for the TypeConverter to use for this member-column (if any).MemberColumnMappingImpl.getTypeConverter()
MemberColumnMapping.getTypeConverterForComponent
(FieldRole role) Accessor for a component (collection element, map key, map value) converter if defined.MemberColumnMappingImpl.getTypeConverterForComponent
(FieldRole role) protected TypeConverter
CompleteClassTable.getTypeConverterForMember
(AbstractMemberMetaData mmd, ColumnMetaData[] colmds, TypeManager typeMgr) 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.Methods in org.datanucleus.store.schema.table with parameters of type TypeConverterModifier and TypeMethodDescriptionprotected 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) 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.Constructors in org.datanucleus.store.schema.table with parameters of type TypeConverterModifierConstructorDescriptionMemberColumnMappingImpl
(AbstractMemberMetaData mmd, Column[] cols, TypeConverter typeConv) -
Uses of TypeConverter in org.datanucleus.store.types
Fields in org.datanucleus.store.types with type parameters of type TypeConverterModifier and TypeFieldDescriptionprotected 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.Methods in org.datanucleus.store.types that return TypeConverterModifier and TypeMethodDescriptionTypeManager.getAutoApplyTypeConverterForType
(Class memberType) Method to return a TypeConverter that should be applied by default for the specified java (member) type.TypeManagerImpl.getAutoApplyTypeConverterForType
(Class memberType) TypeManager.getDefaultTypeConverterForType
(Class memberType) Accessor for the default type converter for the provided Java type.TypeManagerImpl.getDefaultTypeConverterForType
(Class memberType) TypeManager.getTypeConverterForName
(String converterName) Accessor for the type converter with the provided name.TypeManagerImpl.getTypeConverterForName
(String converterName) TypeManager.getTypeConverterForType
(Class memberType, Class datastoreType) Accessor for the type converter for the provided Java type and its datastore type.TypeManagerImpl.getTypeConverterForType
(Class memberType, Class datastoreType) Methods in org.datanucleus.store.types that return types with arguments of type TypeConverterModifier and TypeMethodDescriptionTypeManager.getTypeConvertersForType
(Class memberType) Accessor for the available type converters for the provided Java type.TypeManagerImpl.getTypeConvertersForType
(Class memberType) Methods in org.datanucleus.store.types with parameters of type TypeConverterModifier and TypeMethodDescriptionTypeManager.getDatastoreTypeForTypeConverter
(TypeConverter conv, Class memberType) Method to return the datastore type for the specified TypeConverter.TypeManagerImpl.getDatastoreTypeForTypeConverter
(TypeConverter conv, Class memberType) Method to return the datastore type for the specified TypeConverter.TypeManager.getMemberTypeForTypeConverter
(TypeConverter conv, Class datastoreType) Method to return the member type for the specified TypeConverter.TypeManagerImpl.getMemberTypeForTypeConverter
(TypeConverter conv, Class datastoreType) Method to return the member type for the specified TypeConverter.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.void
TypeManagerImpl.registerConverter
(String name, TypeConverter converter, Class memberType, Class dbType, boolean autoApply, String autoApplyType) -
Uses of TypeConverter in org.datanucleus.store.types.converters
Classes in org.datanucleus.store.types.converters that implement TypeConverterModifier and TypeClassDescriptionclass
Convenience class to handle Java serialisation of a BigDecimal[] object to/from ByteBuffer.class
Class to handle the conversion between java.math.BigDecimal and a Double form.class
Class to handle the conversion between java.math.BigDecimal and a String form.class
Convenience class to handle Java serialisation of a BigInteger[] object to/from ByteBuffer.class
Class to handle the conversion between java.math.BigInteger and a Long form.class
Class to handle the conversion between java.math.BigInteger and a String form.class
Class to handle the conversion between java.util.BitSet and a String form.class
Convenience class to handle Java serialisation of a boolean[] object to/from ByteBuffer.class
Class to handle the conversion between java.lang.Boolean and an Integer (0, 1) form.class
Class to handle the conversion between java.lang.Boolean and a Character ("Y", "N") form.class
Convenience class to handle Java serialisation of a BufferedImage object to/from byte[].class
Convenience class to handle Java serialisation of a BufferedImage object to/from ByteBuffer.class
Convenience class to handle Java serialisation of a byte[] object to/from ByteBuffer.class
Convenience class to handle Java serialisation of a Byte[] object to/from ByteBuffer.class
Class to handle the conversion between java.util.Calendar and (Long, String) being the time in millisecs plus the timezone.class
Class to handle the conversion between java.util.Calendar and a java.util.Date form.class
Class to handle the conversion between java.util.Calendar and a String form.class
Class to handle the conversion between java.util.Calendar and a java.sql.Timestamp.class
Class to handle the conversion between Character and a String form.class
Convenience class to handle Java serialisation of a char[] object to/from ByteBuffer.class
Class to handle the conversion between java.lang.Class and a String form.class
TypeConverter for storing a java.awt.Color as its 4 components (red, green, blue, alpha).class
Class to handle the conversion between java.awt.Color (RGBA) and a String form.class
Class to handle the conversion between java.util.Currency and a String form.class
Class to handle the conversion between java.util.Date and a Long form.class
Class to handle the conversion between java.util.Date and a String form.class
Convenience class to handle Java serialisation of a double[] object to/from ByteBuffer.class
Class to handle the conversion between java.time.Duration and a Double form.class
Class to handle the conversion between java.time.Duration and a Long form.class
Class to handle the conversion between java.time.Duration and a String form.class
Convenience class to handle Java serialisation of a float[] object to/from ByteBuffer.class
Class to handle the conversion between java.time.Instant and java.util.Date.class
Class to handle the conversion between java.time.Instant and Long (of the epoch millisecs).class
Class to handle the conversion between java.time.Instant and a String form.class
Class to handle the conversion between java.time.Instant and java.sql.Timestampclass
Convenience class to handle Java serialisation of a int[] object to/from ByteBuffer.class
Class to handle the conversion between java.lang.Integer and a String form.class
Class to handle the conversion between java.time.LocalDate and java.util.Date.class
Class to handle the conversion between java.time.LocalDate and java.sql.Date.class
Class to handle the conversion between java.time.LocalDate and a String form.class
Class to handle the conversion between java.time.LocalDateTime and java.util.Date.class
Class to handle the conversion between java.time.LocalDateTime and a String form.class
Class to handle the conversion between java.time.LocalDateTime and java.sql.Timestampclass
Class to handle the conversion between java.util.Locale and a String form.class
Class to handle the conversion between java.time.LocalTime and java.util.Date.class
Class to handle the conversion between java.time.LocalTime and a long form (nanos of day).class
Class to handle the conversion between java.time.LocalTime and java.sql.Time.class
Class to handle the conversion between java.time.LocalTime and a String form.class
Convenience class to handle Java serialisation of a long[] object to/from ByteBuffer.class
Class to handle the conversion between java.lang.Long and a String form.class
Class to handle the conversion between java.time.MonthDay and int[] (the month and the day).class
Class to handle the conversion between java.time.MonthDay and java.util.Date.class
Class to handle the conversion between java.time.MonthDay and java.sql.Date.class
Class to handle the conversion between java.time.MonthDay and String.class
Class to handle the conversion between java.time.OffsetDateTime and java.util.Date.class
Class to handle the conversion between java.time.OffsetDateTime and a String form.class
Class to handle the conversion between java.time.OffsetDateTime and java.sql.Timestampclass
Class to handle the conversion between java.time.OffsetTime and a long form (nanos of day).class
Class to handle the conversion between java.time.OffsetTime and java.sql.Time.class
Class to handle the conversion between java.time.OffsetTime and a String form.class
Class to handle the conversion between java.time.Period and int[] (year, month and day).class
Class to handle the conversion between java.time.Period and a String form.class
Convenience class to handle Java serialisation of a Serializable object to/from byte[].class
Convenience class to handle Java serialisation of a Serializable object to/from ByteBuffer.class
Convenience class to handle Java serialisation of a Serializable object to/from String.class
Convenience class to handle Java serialisation of a short[] object to/from ByteBuffer.class
Class to handle the conversion between java.sql.Date and a java.util.Date form.class
Class to handle the conversion between java.sql.Date and a Long form.class
Class to handle the conversion between java.sql.Date and a String form.class
Class to handle the conversion between java.sql.Time and a java.util.Date form.class
Class to handle the conversion between java.sql.Time and a Long form.class
Class to handle the conversion between java.sql.Timestamp and a java.util.Date form.class
Class to handle the conversion between java.sql.Timestamp and a Long form.class
Class to handle the conversion between java.sql.Timestamp and a String form.class
Class to handle the conversion between java.sql.Time and a String form.class
Class to handle the conversion between java.lang.StringBuffer and a String form.class
Class to handle the conversion between java.lang.StringBuilder and a String form.class
Class to handle the conversion between java.util.TimeZone and a String form.class
Class to handle the conversion between java.net.URI and a String form.class
Class to handle the conversion between java.net.URL and a String form.class
Class to handle the conversion between java.util.UUID and a String form.class
Class to handle the conversion between java.time.Year and Integer.class
Class to handle the conversion between java.time.YearMonth and int[] (the year and the month).class
Class to handle the conversion between java.time.YearMonth and java.util.Date.class
Class to handle the conversion between java.time.YearMonth and java.sql.Date.class
Class to handle the conversion between java.time.YearMonth and String.class
Class to handle the conversion between java.time.Year and String.class
Class to handle the conversion between java.time.ZonedDateTime and a String form.class
Class to handle the conversion between java.time.ZonedDateTime and java.sql.Timestamp.class
Class to handle the conversion between java.time.ZoneId and String.class
Class to handle the conversion between java.time.ZoneOffset and String.