public abstract class DateTypeBase<JavaType> extends PrimitiveTypeBase<JavaType>
| Modifier and Type | Class and Description | 
|---|---|
| static class  | DateTypeBase.DateComparator<T> | 
| Modifier and Type | Field and Description | 
|---|---|
| static String | INDEX_NAME | 
dataOffset, graph, valueIndex| Constructor and Description | 
|---|
| DateTypeBase() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected abstract JavaType | fromLong(long x) | 
| Comparator<byte[]> | getComparator()Return a  java.util.Comparatorinstance that provides 
 an order relation of the values of the primitive type. | 
| protected String | getIndexName()Return the name of the DB index to create for the primitive values. | 
| protected JavaType | readBytes(byte[] bytes,
         int offset) | 
| protected abstract long | toLong(JavaType x) | 
| protected byte[] | writeBytes(JavaType value) | 
compare, find, findGT, findGTE, findLT, findLTE, fromByteArray, getIndex, getRefCount, getRefCountFor, make, putRefCount, release, setHyperGraph, store, storeImpl, subsumes, toByteArraypublic static final String INDEX_NAME
protected abstract long toLong(JavaType x)
protected abstract JavaType fromLong(long x)
protected String getIndexName()
PrimitiveTypeBaseReturn the name of the DB index to create for the primitive values.
getIndexName in class PrimitiveTypeBase<JavaType>protected JavaType readBytes(byte[] bytes, int offset)
readBytes in class PrimitiveTypeBase<JavaType>protected byte[] writeBytes(JavaType value)
writeBytes in class PrimitiveTypeBase<JavaType>public Comparator<byte[]> getComparator()
HGPrimitiveTypejava.util.Comparator instance that provides 
 an order relation of the values of the primitive type. An implementation
 is allowed to return null in which case it is assumed 
 that the type does not offer an ordering relation. However, if a 
 non-null value is returned, it is must be of a publicly available
 and default constructible class.Copyright © 2015. All rights reserved.