public class IncidenceSetRef extends Object implements LazyRef<IncidenceSet>
An implementation that will lazily query for the incidence set
of an atom. Many HGAtomType
s ignore the incidence
set when constructing the value of a given atom. For this reason,
it is only loaded on demand since it requires an extra DB query.
Constructor and Description |
---|
IncidenceSetRef(HGHandle atomHandle,
HyperGraph graph) |
Modifier and Type | Method and Description |
---|---|
IncidenceSet |
deref()
Return the actual value that this reference encapsulate.
|
HGHandle |
getAtomHandle() |
public IncidenceSetRef(HGHandle atomHandle, HyperGraph graph)
public IncidenceSet deref()
LazyRef
Return the actual value that this reference encapsulate. Concrete implementation may perform a length operation in order to get to the value.
deref
in interface LazyRef<IncidenceSet>
public HGHandle getAtomHandle()
Copyright © 2015. All rights reserved.