Modifier and Type | Method and Description |
---|---|
static Op |
Algebra.parse(Item item) |
Modifier and Type | Field and Description |
---|---|
static Item |
StatsMatcher.OTHER |
Modifier and Type | Method and Description |
---|---|
double |
StatsMatcher.match(Item subj,
Item pred,
Item obj)
Return the matching weight for the first triple match found,
else apply default value for fixed, unknnown predciate,
else return NOMATCH
|
Constructor and Description |
---|
Pattern(double w,
Item subj,
Item pred,
Item obj) |
StatsMatcher(Item stats) |
Modifier and Type | Field and Description |
---|---|
static Item |
PatternElements.ANY |
static Item |
PatternElements.BNODE |
static Item |
PatternElements.LITERAL |
Item |
PatternTriple.object |
Item |
PatternTriple.predicate |
Item |
PatternTriple.subject |
static Item |
PatternElements.TERM |
static Item |
PatternElements.URI |
static Item |
PatternElements.VAR |
Modifier and Type | Method and Description |
---|---|
static boolean |
PatternElements.isAny(Item item) |
static boolean |
PatternElements.isAnyBNode(Item item) |
static boolean |
PatternElements.isAnyLiteral(Item item) |
static boolean |
PatternElements.isAnyTerm(Item item) |
static boolean |
PatternElements.isAnyURI(Item item) |
static boolean |
PatternElements.isAnyVar(Item item) |
static boolean |
PatternElements.isSet(Item item) |
static boolean |
PatternElements.isVar(Item item) |
static PatternTriple |
PatternTriple.parse(Item pt) |
Constructor and Description |
---|
PatternTriple(Item s,
Item p,
Item o) |
Modifier and Type | Field and Description |
---|---|
static Item |
Item.defaultItem |
static Item |
Item.nil |
Modifier and Type | Method and Description |
---|---|
Item |
ItemList.car() |
static Item |
Item.createList() |
static Item |
Item.createList(int line,
int column) |
static Item |
Item.createList(ItemList list) |
static Item |
Item.createList(ItemList list,
int line,
int column) |
static Item |
Item.createNode(Node node) |
static Item |
Item.createNode(Node node,
int line,
int column) |
static Item |
Item.createSymbol(String symbol) |
static Item |
Item.createSymbol(String symbol,
int line,
int column) |
static Item |
Item.createTagged(String tag) |
static Item |
Item.find(ItemList list,
String key) |
Item |
ItemList.get(int idx) |
Item |
ItemList.getFirst() |
Item |
ItemList.getLast() |
static Item |
Item.makePair(Item item1,
Item item2) |
static Item |
SSE.parse(InputStream in)
Parse from an input stream and obtain an SSE item expression
|
static Item |
SSE.parse(InputStream in,
PrefixMapping pmap)
Parse from an input stream and obtain an SSE item expression
|
static Item |
SSE.parse(String str)
Parse a string and obtain an SSE item expression
|
static Item |
SSE.parse(String str,
PrefixMapping pmap)
Parse a string and obtain an SSE item expression
|
static Item |
SSE.parseItem(String str) |
static Item |
SSE.parseItem(String str,
PrefixMapping pmap) |
static Item |
SSE.parseRaw(String str)
Parse a string and obtain an SSE item expression (no additional prefix mappings)
|
static Item |
SSE.readFile(String filename)
Read a file and obtain an SSE item expression
|
static Item |
SSE.readFile(String filename,
PrefixMapping pmap)
Read a file and obtain an SSE item expression
|
Item |
ItemTransformBase.transform(Item item,
ItemList list) |
Item |
ItemTransform.transform(Item item,
ItemList list) |
Item |
ItemTransformBase.transform(Item item,
Node node) |
Item |
ItemTransform.transform(Item item,
Node node) |
Item |
ItemTransformBase.transform(Item item,
String symbol) |
Item |
ItemTransform.transform(Item item,
String symbol) |
Item |
Item.transform(ItemTransform transformer) |
static Item |
ItemTransformer.transform(ItemTransform transform,
Item item) |
Modifier and Type | Method and Description |
---|---|
Iterator<Item> |
ItemList.iterator() |
Modifier and Type | Method and Description |
---|---|
void |
ItemList.add(Item item) |
static void |
Item.addPair(ItemList list,
Item key,
Item value) |
static Item |
Item.makePair(Item item1,
Item item2) |
boolean |
Item.sameSymbol(Item item) |
Item |
ItemTransformBase.transform(Item item,
ItemList list) |
Item |
ItemTransform.transform(Item item,
ItemList list) |
Item |
ItemTransformBase.transform(Item item,
Node node) |
Item |
ItemTransform.transform(Item item,
Node node) |
Item |
ItemTransformBase.transform(Item item,
String symbol) |
Item |
ItemTransform.transform(Item item,
String symbol) |
static Item |
ItemTransformer.transform(ItemTransform transform,
Item item) |
void |
ItemVisitor.visit(Item item,
ItemList list) |
void |
ItemVisitor.visit(Item item,
Node node) |
void |
ItemVisitor.visit(Item item,
String symbol) |
static void |
ItemWriter.write(IndentedWriter out,
Item item,
SerializationContext sCxt) |
static void |
ItemWriter.write(OutputStream out,
Item item) |
Constructor and Description |
---|
ItemList(int line,
int column,
int offset,
List<Item> elts) |
Modifier and Type | Method and Description |
---|---|
static void |
BuilderLib.broken(ItemLocation location,
String msg,
Item item) |
static void |
BuilderLib.broken(Item item,
String msg) |
static Op |
BuilderOp.build(Item item) |
static Table |
BuilderTable.build(Item item) |
static PrefixMapping |
BuilderPrefixMapping.build(Item elt) |
static ResultSet |
BuilderResultSet.build(Item item) |
static Binding |
BuilderBinding.build(Item item) |
static void |
BuilderPrefixMapping.build(PrefixMapping newMappings,
Item elt) |
static BasicPattern |
BuilderOp.buildBGP(Item item) |
static DatasetGraph |
BuilderGraph.buildDataset(Item item)
Format:
(dataset
(graph ...))
(graph IRIa ...))
(graph IRIb ...))
)
(graph ...) is an abbrevaition for a dataset with a default graph and no named graphs.
|
static Expr |
BuilderExpr.buildExpr(Item item) |
static ExprList |
BuilderExpr.buildExprList(Item item) |
static ExprList |
BuilderExpr.buildExprOrExprList(Item item) |
static void |
BuilderGraph.buildGraph(Graph graph,
Item item) |
static Graph |
BuilderGraph.buildGraph(Item item) |
static int |
BuilderNode.buildInt(Item item) |
static int |
BuilderNode.buildInt(Item item,
int dft) |
Expr |
BuilderExpr.buildItem(Item item) |
static long |
BuilderNode.buildLong(Item item) |
static long |
BuilderNode.buildLong(Item item,
int dft) |
static VarExprList |
BuilderExpr.buildNamedExpr(Item item) |
static VarExprList |
BuilderExpr.buildNamedExprOrExprList(Item item) |
static Node |
BuilderNode.buildNode(Item item) |
static List<Node> |
BuilderNode.buildNodeList(Item item) |
static Path |
BuilderPath.buildPath(Item item) |
static String |
BuilderNode.buildSymbol(Item item) |
static Var |
BuilderNode.buildVar(Item item) |
static List<Var> |
BuilderNode.buildVarList(Item item) |
static void |
BuilderLib.checkList(Item item) |
static void |
BuilderLib.checkList(Item item,
String msg) |
static void |
BuilderLib.checkNode(Item item) |
static void |
BuilderLib.checkSymbol(Item item) |
static void |
BuilderLib.checkTagged(Item item,
int len,
String tag,
String msg) |
static void |
BuilderLib.checkTagged(Item item,
String tag,
String msg) |
static void |
BuilderExec.exec(Item item) |
Modifier and Type | Method and Description |
---|---|
Item |
ParseHandler.getItem()
The result of a parse
|
Item |
ParseHandlerPlain.getItem() |
Item |
ParseHandler2.getItem() |
Item |
ParseHandlerWrapper.getItem() |
Item |
ParseHandlerDebug.getItem() |
Licenced under the Apache License, Version 2.0