Package com.db4o.internal
Class CommitTimestampFieldMetadata
- java.lang.Object
-
- com.db4o.internal.ClassAspect
-
- com.db4o.internal.FieldMetadata
-
- com.db4o.internal.VirtualFieldMetadata
-
- com.db4o.internal.CommitTimestampFieldMetadata
-
- All Implemented Interfaces:
StoredField
public class CommitTimestampFieldMetadata extends VirtualFieldMetadata
-
-
Field Summary
-
Fields inherited from class com.db4o.internal.FieldMetadata
_fieldType, _fieldTypeID, _isArray
-
Fields inherited from class com.db4o.internal.ClassAspect
_handle
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
activate(UnmarshallingContext context)
void
addFieldIndex(ObjectIdContextImpl context)
void
addIndexEntry(Transaction trans, int parentID, java.lang.Object indexEntry)
protected FieldIndexKey
createFieldIndexKey(int parentID, java.lang.Object indexEntry)
void
defragAspect(DefragmentContext context)
void
delete(DeleteContextImpl context, boolean isUpdate)
BTree
getIndex(Transaction trans)
boolean
hasIndex()
Returns whether this field has an index or not.int
linkLength(HandlerVersionContext context)
java.lang.Object
read(ObjectIdContext context)
void
removeIndexEntry(Transaction trans, int parentID, java.lang.Object indexEntry)
-
Methods inherited from class com.db4o.internal.VirtualFieldMetadata
alive, canBeDisabled, canUseNullBitmap, classReflector, deactivate, getHandler, getOrCreate, indexEntryFor, indexHandler, isVirtual, loadFieldTypeById, marshall, needsArrayAndPrimitiveInfo, readVirtualAttribute
-
Methods inherited from class com.db4o.internal.FieldMetadata
addIndexEntry, aspectType, attemptUpdate, canLoadByIndex, canUpdateFast, cascadeActivation, cascadingTarget, coerce, collectIDs, container, containingClass, createIndex, dropIndex, dropIndex, equals, fieldType, fieldTypeID, get, get, getName, getOn, getStoredType, hasConfig, hashCode, init, init, initIndex, isArray, isPrimitive, newBTree, prepareComparison, qField, readIndexEntry, rebuildIndexForClass, rebuildIndexForObject, rebuildIndexForWriter, reflector, rename, search, set, setAvailable, toString, translatorStoredClass, traverseValues, traverseValues, typeHandlerForClass, updating, wrapHandlerToArrays
-
Methods inherited from class com.db4o.internal.ClassAspect
checkEnabled, disableFromAspectCountVersion, incrementOffset, isEnabledOn, setHandle
-
-
-
-
Method Detail
-
addFieldIndex
public void addFieldIndex(ObjectIdContextImpl context) throws FieldIndexException
- Specified by:
addFieldIndex
in classVirtualFieldMetadata
- Throws:
FieldIndexException
-
addIndexEntry
public void addIndexEntry(Transaction trans, int parentID, java.lang.Object indexEntry)
- Overrides:
addIndexEntry
in classFieldMetadata
-
removeIndexEntry
public void removeIndexEntry(Transaction trans, int parentID, java.lang.Object indexEntry)
- Overrides:
removeIndexEntry
in classFieldMetadata
-
delete
public void delete(DeleteContextImpl context, boolean isUpdate)
- Specified by:
delete
in classVirtualFieldMetadata
-
linkLength
public int linkLength(HandlerVersionContext context)
- Overrides:
linkLength
in classFieldMetadata
-
defragAspect
public void defragAspect(DefragmentContext context)
- Overrides:
defragAspect
in classFieldMetadata
-
activate
public void activate(UnmarshallingContext context)
- Overrides:
activate
in classVirtualFieldMetadata
-
getIndex
public BTree getIndex(Transaction trans)
- Overrides:
getIndex
in classFieldMetadata
-
hasIndex
public boolean hasIndex()
Description copied from interface:StoredField
Returns whether this field has an index or not.- Specified by:
hasIndex
in interfaceStoredField
- Overrides:
hasIndex
in classFieldMetadata
- Returns:
- true if this field has an index.
-
createFieldIndexKey
protected FieldIndexKey createFieldIndexKey(int parentID, java.lang.Object indexEntry)
- Overrides:
createFieldIndexKey
in classFieldMetadata
-
read
public java.lang.Object read(ObjectIdContext context)
- Overrides:
read
in classFieldMetadata
-
-