java.lang.Object
org.apache.jena.tdb1.store.NodeId
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic NodeIdcreate(byte[] b) static NodeIdcreate(byte[] b, int idx) static NodeIdcreate(long value) static NodeIdcreate(ByteBuffer b) static NodeIdcreate(ByteBuffer b, int idx) booleanstatic org.apache.jena.graph.NodeDecode an inline nodeID, return null if not an inline nodelonggetId()inthashCode()static booleanhasInlineDatatype(org.apache.jena.graph.Node node) Return true if this node has a datatype that looks like it is inlineable.static NodeIdinline(org.apache.jena.graph.Node node) Encode a node as an inline literal.static final booleanfinal booleanstatic final booleanisConcrete(NodeId nodeId) booleanisDirect()static final booleanisDoesNotExist(NodeId nodeId) static booleanvoidtoByteBuffer(ByteBuffer b, int idx) voidtoBytes(byte[] b, int idx) toString()inttype()
-
Field Details
-
NodeDoesNotExist
-
NodeIdAny
-
SIZE
public static final int SIZE- See Also:
-
NONE
public static final int NONE- See Also:
-
INTEGER
public static final int INTEGER- See Also:
-
DECIMAL
public static final int DECIMAL- See Also:
-
DATE
public static final int DATE- See Also:
-
DATETIME
public static final int DATETIME- See Also:
-
BOOLEAN
public static final int BOOLEAN- See Also:
-
SHORT_STRING
public static final int SHORT_STRING- See Also:
-
SPECIAL
public static final int SPECIAL- See Also:
-
-
Constructor Details
-
NodeId
public NodeId(long v)
-
-
Method Details
-
create
-
create
-
create
-
create
-
create
-
toByteBuffer
-
toBytes
public void toBytes(byte[] b, int idx) -
isDirect
public boolean isDirect() -
type
public int type() -
getId
public long getId() -
hashCode
public int hashCode() -
equals
-
toString
-
inline
Encode a node as an inline literal. Return null if it can't be done -
hasInlineDatatype
public static boolean hasInlineDatatype(org.apache.jena.graph.Node node) Return true if this node has a datatype that looks like it is inlineable. The node may still be out of range (e.g. very large integer). Only inline(Node)->NodeId can determine that. -
isInline
-
extract
Decode an inline nodeID, return null if not an inline node -
isConcrete
public final boolean isConcrete() -
isConcrete
-
isAny
-
isDoesNotExist
-