| Package | Description | 
|---|---|
| org.hypergraphdb | 
 Welcome to HyperGraphDB 
 | 
| org.hypergraphdb.atom | |
| org.hypergraphdb.type | |
| org.hypergraphdb.type.javaprimitive | |
| org.hypergraphdb.util | 
| Modifier and Type | Field and Description | 
|---|---|
static HGAtomType | 
HGTypeSystem.top  | 
| Modifier and Type | Method and Description | 
|---|---|
<T extends HGAtomType>  | 
HGTypeSystem.getAtomType(Class<?> clazz)
 Return the  
HGAtomType corresponding to the passed in
 Java class. | 
| Modifier and Type | Method and Description | 
|---|---|
HGAtomType | 
HGTypeSystem.getAtomType(HGHandle handle)
Return the type instance of a given atom. 
 | 
HGAtomType | 
HGTypeSystem.getAtomType(Object object)
 Return the default  
HyperGraph type of the given atom object. | 
HGAtomType | 
HGTypeSystem.getType(HGHandle handle)
Return the  
HGAtomType by its HGHandle. | 
HGAtomType | 
HGTypeSystem.getType(String alias)
Return the  
HGAtomType corresponding to the given alias. | 
| Modifier and Type | Method and Description | 
|---|---|
HGHandle | 
HGTypeSystem.addPredefinedType(HGPersistentHandle handle,
                 HGAtomType type,
                 Class<?> clazz)
Deprecated. 
 
Use {@link #addPredefinedType(HGPersistentHandle, HGAtomType, URI) instead; 
 | 
HGHandle | 
HGTypeSystem.addPredefinedType(HGPersistentHandle handle,
                 HGAtomType type,
                 URI typeId)
Specify an application specific predefined type, possibly overriding a default
 HyperGraph basic type. 
 | 
void | 
HGIndexManager.maybeIndex(HGPersistentHandle typeHandle,
          HGAtomType type,
          HGPersistentHandle atomHandle,
          Object atom)
 Called when an atom is being added to hypergraph to check and possibly
 add index entries for the indexed dimensions of the atom's type. 
 | 
void | 
HGIndexManager.maybeUnindex(HGPersistentHandle typeHandle,
            HGAtomType type,
            HGPersistentHandle atomHandle,
            Object atom)
 Called when an atom is being added to hypergraph to check and possibly
 add index entries for the indexed dimensions of the atom's type. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
AtomQueueType  | 
class  | 
AtomSetType
 Implements the HyperGraph type of  
HGAtomSet atoms. | 
class  | 
AtomStackType  | 
class  | 
HGRelType
 Represents the type a "semantic" relationship. 
 | 
class  | 
HGRelTypeConstructor
 The type of  
HGRelType. | 
| Modifier and Type | Interface and Description | 
|---|---|
interface  | 
HGCompositeType
 A  
HGCompositeType represents a HyperGraph type with several
 dimensions. | 
interface  | 
HGPrimitiveType<JavaType>
 A  
HGPrimitiveType is a HGAtomType that
 store its values directly as raw byte data. | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
AbstractTypeConstructor
This type is a predefined type constructor that manages abstract types
 in the HyperGraph storage. 
 | 
class  | 
ArrayType
 An  
ArrayType handles fixed size arrays of values of the same
 type (i.e. | 
class  | 
ArrayTypeConstructor  | 
class  | 
AtomRefType
 Represents the type of a  
HGAtomRef value. | 
class  | 
CollectionType
 A  
CollectionType instance is capable for managing collections
 of objects in the HyperGraph store. | 
class  | 
CollectionTypeConstructor
 Represents the type of  
CollectionTypes. | 
class  | 
HGAbstractCompositeType
 Represents an abstract type (can't be instantiated) that has some properties - modeled
 after and mainly used to represent an abstract Java bean. 
 | 
class  | 
HGAbstractType
 The implementation of a HyperGraph abstract types. 
 | 
class  | 
HGAtomTypeBase
 A base class for implementing  
HGAtomType. | 
class  | 
HGHandleType  | 
class  | 
JavaAbstractBinding
 Acts as an atom type for Java interfaces and abstract classes that have
 declared/visible bean properties or private fields translated into 
 record slots, but cannot be instantiateed. 
 | 
class  | 
JavaBeanBinding
 Acts as a  
HGAtomType for Java beans. | 
class  | 
JavaInterfaceBinding
 Acts as an atom type for Java interfaces and abstract classes with no
 declared/visible bean properties. 
 | 
class  | 
JavaObjectBinding  | 
class  | 
LinkType  | 
class  | 
MapType  | 
class  | 
MapTypeConstructor  | 
class  | 
NullType  | 
class  | 
PairType  | 
class  | 
PlainLinkType  | 
class  | 
RecordType
 A  
RecordType represents a particular combination of slots that
 can be used to construct records. | 
class  | 
RecordTypeConstructor
 A  
RecordTypeConstructor represents the HG (meta) type of a RecordType. | 
class  | 
SerializableType
 This type implementation handles values as serializable Java blobs. 
 | 
class  | 
SlotType
 The  
SlotType handles atoms of type Slot. | 
class  | 
SubsumesType  | 
class  | 
TextType
 The implementation of the primitive  
String type for large
 string values. | 
class  | 
Top
 The  
Top HGAtomType represents the type of predefined types. | 
| Modifier and Type | Method and Description | 
|---|---|
HGAtomType | 
JavaObjectMapper.defineHGType(Class<?> javaClass,
            HGHandle typeHandle)  | 
HGAtomType | 
JavaTypeMapper.defineHGType(Class<?> javaClass,
            HGHandle typeHandle)
 Create a new HyperGraphDB type for the given Java class. 
 | 
HGAtomType | 
JavaTypeFactory.defineHGType(Class<?> javaClass,
            HGHandle typeHandle)  | 
HGAtomType | 
DefaultJavaTypeMapper.defineHGType(Class<?> javaClass,
            HGHandle typeHandle)  | 
HGAtomType | 
JavaTypeSchema.defineType(URI typeId,
          HGHandle typeHandle,
          Class<?> descriptor)  | 
HGAtomType | 
HGTypeSchema.fromRuntimeType(HGHandle typeHandle,
               HGAtomType typeInstance)
 If a given type is wrapped under a different runtime representation by 
 the  
HGTypeSchema.toRuntimeType(HGHandle, HGAtomType) method, this method 
 retrieves the underlying default representation as constructed by the 
 type system. | 
HGAtomType | 
JavaTypeSchema.fromRuntimeType(HGHandle typeHandle,
               HGAtomType typeInstance)  | 
HGAtomType | 
JavaInterfaceBinding.getHGType()  | 
HGAtomType | 
JavaObjectMapper.getJavaBinding(HGHandle typeHandle,
              HGAtomType hgType,
              Class<?> javaClass)  | 
HGAtomType | 
JavaTypeMapper.getJavaBinding(HGHandle typeHandle,
              HGAtomType hgType,
              Class<?> javaClass)
 Create a type wrapper for a given raw HyperGraphDB type. 
 | 
HGAtomType | 
JavaTypeFactory.getJavaBinding(HGHandle typeHandle,
              HGAtomType hgType,
              Class<?> javaClass)  | 
HGAtomType | 
DefaultJavaTypeMapper.getJavaBinding(HGHandle typeHandle,
              HGAtomType hgType,
              Class<?> javaClass)  | 
HGAtomType | 
HGTypeSchema.toRuntimeType(HGHandle typeHandle,
             HGAtomType typeInstance)
 The type schema may wrap a given HyperGraphDB type into a different
 runtime instance. 
 | 
HGAtomType | 
JavaTypeSchema.toRuntimeType(HGHandle typeHandle,
             HGAtomType typeInstance)  | 
| Modifier and Type | Method and Description | 
|---|---|
HGAtomType | 
HGTypeSchema.fromRuntimeType(HGHandle typeHandle,
               HGAtomType typeInstance)
 If a given type is wrapped under a different runtime representation by 
 the  
HGTypeSchema.toRuntimeType(HGHandle, HGAtomType) method, this method 
 retrieves the underlying default representation as constructed by the 
 type system. | 
HGAtomType | 
JavaTypeSchema.fromRuntimeType(HGHandle typeHandle,
               HGAtomType typeInstance)  | 
HGAtomType | 
JavaObjectMapper.getJavaBinding(HGHandle typeHandle,
              HGAtomType hgType,
              Class<?> javaClass)  | 
HGAtomType | 
JavaTypeMapper.getJavaBinding(HGHandle typeHandle,
              HGAtomType hgType,
              Class<?> javaClass)
 Create a type wrapper for a given raw HyperGraphDB type. 
 | 
HGAtomType | 
JavaTypeFactory.getJavaBinding(HGHandle typeHandle,
              HGAtomType hgType,
              Class<?> javaClass)  | 
HGAtomType | 
DefaultJavaTypeMapper.getJavaBinding(HGHandle typeHandle,
              HGAtomType hgType,
              Class<?> javaClass)  | 
static HGProjection | 
TypeUtils.getProjection(HyperGraph hg,
             HGAtomType type,
             String[] dimPath)  | 
static Object | 
TypeUtils.makeValue(HyperGraph graph,
         HGPersistentHandle h,
         HGAtomType type)  | 
static void | 
TypeUtils.releaseValue(HyperGraph graph,
            HGAtomType type,
            HGPersistentHandle h)  | 
static HGPersistentHandle | 
TypeUtils.storeValue(HyperGraph graph,
          Object value,
          HGAtomType type)  | 
HGAtomType | 
HGTypeSchema.toRuntimeType(HGHandle typeHandle,
             HGAtomType typeInstance)
 The type schema may wrap a given HyperGraphDB type into a different
 runtime instance. 
 | 
HGAtomType | 
JavaTypeSchema.toRuntimeType(HGHandle typeHandle,
             HGAtomType typeInstance)  | 
| Constructor and Description | 
|---|
JavaInterfaceBinding(HGHandle typeHandle,
                    HGAtomType hgType,
                    Class<?> javaClass)  | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
BooleanPrimitiveArrayType
 Boolean arrays are stored using a byte for each boolean value (as usual, 0 for false and
 1 for true). 
 | 
class  | 
BooleanType  | 
class  | 
BytePrimitiveArrayType  | 
class  | 
ByteType  | 
class  | 
CalendarType  | 
class  | 
CharPrimitiveArrayType  | 
class  | 
CharType  | 
class  | 
DateType  | 
class  | 
DateTypeBase<JavaType>  | 
class  | 
DoublePrimitiveArrayType  | 
class  | 
DoubleType  | 
class  | 
EnumType  | 
class  | 
EnumTypeConstructor
 Manages instances of  
EnumType. | 
class  | 
FloatPrimitiveArrayType  | 
class  | 
FloatType  | 
class  | 
IntPrimitiveArrayType  | 
class  | 
IntType
 The implementation of the primitive  
Integer type. | 
class  | 
LongPrimitiveArrayType  | 
class  | 
LongType  | 
class  | 
NumericTypeBase<T extends Number>  | 
class  | 
PrimitiveArrayType  | 
class  | 
PrimitiveTypeBase<JavaType>
 A generic, base implementation of the primitive Java types. 
 | 
class  | 
ShortPrimitiveArrayType  | 
class  | 
ShortType  | 
class  | 
StringType
 The implementation of the primitive  
String type. | 
class  | 
TimestampType  | 
| Modifier and Type | Method and Description | 
|---|---|
Class<? extends HGAtomType> | 
PredefinedTypesConfig.getTypeImplementation(HGPersistentHandle typeHandle)  | 
| Modifier and Type | Method and Description | 
|---|---|
HGPersistentHandle | 
PredefinedTypesConfig.getHandleOf(Class<? extends HGAtomType> typeImplementation)  | 
Copyright © 2015. All rights reserved.