getLookAhead

setLookAhead

void setLookAhead(int lh)

Set the look-ahead value for this cursor instance.
The look-ahead value determines how many results are cached in the
cursor instance. The cached values may be retrieved without a
round-trip to the AllegroGraph server.
The setting takes effect when next() requires more data from the server.
The initial setting is determined by the value of setLookAhead in the
AllegroGraph instance where the query was run.

A large value optimizes access in the Java application but may
incur a large delay when the cursor is created.

Parameters:

lh - An integer. Any value less than 1 specifies the defaultLookAhead
value.

getSubjectLabel

Retrieve the literal string for the subject of the current triple in the
Cursor instance.
Note that the label does not provide all the information describing the
part of the triple. When the part is a literal with a language or datatype
modifier, the modifiers are missing. A literal label may also appear to be a
URL or a blank node id.

getPredicateLabel

Retrieve the literal string for the predicate of the current triple in
the Cursor instance.
Note that the label does not provide all the information describing the
part of the triple. When the part is a literal with a language or datatype
modifier, the modifiers are missing. A literal label may alo appear to be a
URL or a blank node id.

getObjectLabel

Retrieve the literal string for the object of the current triple in the
Cursor instance.
Note that the label does not provide all the information describing the
part of the triple. When the part is a literal with a language or datatype
modifier, the modifiers are missing. A literal label may alo appear to be a
URL or a blank node id.

getContextLabel

Retrieve the string label of the context of the current triple in the
Cursor instance.
Note that the label does not provide all the information describing the
part of the triple. When the part is a literal with a language or datatype
modifier, the modifiers are missing. A literal label may also appear to be a
URI or a blank node id.