Package com.db4o.internal
Class Handlers4
- java.lang.Object
-
- com.db4o.internal.Handlers4
-
public class Handlers4 extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static int
ANY_ARRAY_ID
static int
ANY_ARRAY_N_ID
static int
BOOLEAN_ID
static int
BYTE_ID
static int
CHAR_ID
static int
DATE_ID
static int
DOUBLE_ID
static int
FLOAT_ID
static int
INT_ID
static int
LONG_ID
static int
SHORT_ID
static int
STRING_ID
static int
UNTYPED_ID
-
Constructor Summary
Constructors Constructor Description Handlers4()
-
Method Summary
-
-
-
Field Detail
-
INT_ID
public static final int INT_ID
- See Also:
- Constant Field Values
-
LONG_ID
public static final int LONG_ID
- See Also:
- Constant Field Values
-
FLOAT_ID
public static final int FLOAT_ID
- See Also:
- Constant Field Values
-
BOOLEAN_ID
public static final int BOOLEAN_ID
- See Also:
- Constant Field Values
-
DOUBLE_ID
public static final int DOUBLE_ID
- See Also:
- Constant Field Values
-
BYTE_ID
public static final int BYTE_ID
- See Also:
- Constant Field Values
-
CHAR_ID
public static final int CHAR_ID
- See Also:
- Constant Field Values
-
SHORT_ID
public static final int SHORT_ID
- See Also:
- Constant Field Values
-
STRING_ID
public static final int STRING_ID
- See Also:
- Constant Field Values
-
DATE_ID
public static final int DATE_ID
- See Also:
- Constant Field Values
-
UNTYPED_ID
public static final int UNTYPED_ID
- See Also:
- Constant Field Values
-
ANY_ARRAY_ID
public static final int ANY_ARRAY_ID
- See Also:
- Constant Field Values
-
ANY_ARRAY_N_ID
public static final int ANY_ARRAY_N_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
isQueryLeaf
public static boolean isQueryLeaf(TypeHandler4 handler)
-
handlesArray
public static boolean handlesArray(TypeHandler4 handler)
-
handlesMultidimensionalArray
public static boolean handlesMultidimensionalArray(TypeHandler4 handler)
-
handlesClass
public static boolean handlesClass(TypeHandler4 handler)
-
primitiveClassReflector
public static ReflectClass primitiveClassReflector(TypeHandler4 handler, Reflector reflector)
-
baseTypeHandler
public static TypeHandler4 baseTypeHandler(TypeHandler4 handler)
-
baseType
public static ReflectClass baseType(ReflectClass clazz)
-
isClassAware
public static boolean isClassAware(TypeHandler4 typeHandler)
-
calculateLinkLength
public static int calculateLinkLength(TypeHandler4 handler)
-
holdsValueType
public static boolean holdsValueType(TypeHandler4 handler)
-
isValueType
public static boolean isValueType(TypeHandler4 handler)
-
isCascading
public static boolean isCascading(TypeHandler4 handler)
-
isUntyped
public static boolean isUntyped(TypeHandler4 handler)
-
isVariableLength
public static boolean isVariableLength(TypeHandler4 handler)
-
fieldAwareTypeHandler
public static FieldAwareTypeHandler fieldAwareTypeHandler(TypeHandler4 typeHandler)
-
collectIDs
public static void collectIDs(QueryingReadContext context, TypeHandler4 typeHandler)
-
useDedicatedSlot
public static boolean useDedicatedSlot(Context context, TypeHandler4 handler)
-
arrayElementHandler
public static TypeHandler4 arrayElementHandler(TypeHandler4 handler, QueryingReadContext queryingReadContext)
-
nullRepresentationInUntypedArrays
public static java.lang.Object nullRepresentationInUntypedArrays(TypeHandler4 handler)
-
handleAsObject
public static boolean handleAsObject(TypeHandler4 typeHandler)
-
cascadeActivation
public static void cascadeActivation(ActivationContext context, TypeHandler4 handler)
-
handlesPrimitiveArray
public static boolean handlesPrimitiveArray(TypeHandler4 typeHandler)
-
hasClassIndex
public static boolean hasClassIndex(TypeHandler4 typeHandler)
-
canLoadFieldByIndex
public static boolean canLoadFieldByIndex(TypeHandler4 handler)
-
wrapWithTransactionContext
public static java.lang.Object wrapWithTransactionContext(Transaction transaction, java.lang.Object value, TypeHandler4 handler)
-
collectIdsInternal
public static void collectIdsInternal(CollectIdContext context, TypeHandler4 handler, int linkLength, boolean doWithSlotIndirection)
-
isIndirectedIndexed
public static boolean isIndirectedIndexed(TypeHandler4 handler)
-
prepareComparisonFor
public static PreparedComparison prepareComparisonFor(TypeHandler4 handler, Context context, java.lang.Object obj)
-
primitiveClassReflector
public static ReflectClass primitiveClassReflector(ClassMetadata classMetadata, Reflector reflector)
-
activate
public static void activate(UnmarshallingContext context, TypeHandler4 handler)
-
write
public static void write(TypeHandler4 handler, WriteContext context, java.lang.Object obj)
-
readValueType
public static java.lang.Object readValueType(ReadContext context, TypeHandler4 handler)
-
isStandaloneTypeHandler
public static boolean isStandaloneTypeHandler(TypeHandler4 customTypeHandler)
-
erasedFieldType
public static ClassMetadata erasedFieldType(ObjectContainerBase container, ReflectClass fieldType)
-
-