Class JoinKey
- java.lang.Object
-
- org.apache.jena.sparql.engine.join.JoinKey
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJoinKey.BuilderThe builder can emit a key every time build() is caller and it can be continued to be used.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JoinKeycreate(java.util.Collection<Var> vars1, java.util.Collection<Var> vars2)Make a JoinKey from the intersection of two setsstatic JoinKeycreate(Var var)static JoinKeycreateVarKey(java.util.Collection<Var> vars1, java.util.Collection<Var> vars2)Make a JoinKey of single variable from the intersection of two setsVargetVarKey()Get a single variable for this key.booleanisEmpty()java.util.Iterator<Var>iterator()intlength()java.lang.StringtoString()
-
-
-
Method Detail
-
create
public static JoinKey create(java.util.Collection<Var> vars1, java.util.Collection<Var> vars2)
Make a JoinKey from the intersection of two sets
-
createVarKey
public static JoinKey createVarKey(java.util.Collection<Var> vars1, java.util.Collection<Var> vars2)
Make a JoinKey of single variable from the intersection of two sets
-
isEmpty
public boolean isEmpty()
-
length
public int length()
-
getVarKey
public Var getVarKey()
Get a single variable for this key. For any one key, it always returns the same var
-
iterator
public java.util.Iterator<Var> iterator()
- Specified by:
iteratorin interfacejava.lang.Iterable<Var>
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-