| Modifier and Type | Method and Description |
|---|---|
VarAdmin |
Var.admin() |
| Modifier and Type | Method and Description |
|---|---|
default VarAdmin |
VarAdmin.asVar() |
default VarAdmin |
PatternAdmin.asVar() |
VarAdmin |
RelationPlayer.getRolePlayer() |
| Modifier and Type | Method and Description |
|---|---|
Collection<VarAdmin> |
DeleteQueryAdmin.getDeleters() |
Disjunction<Conjunction<VarAdmin>> |
PatternAdmin.getDisjunctiveNormalForm()
Get the disjunctive normal form of this pattern group.
|
Disjunction<Conjunction<VarAdmin>> |
Disjunction.getDisjunctiveNormalForm() |
Disjunction<Conjunction<VarAdmin>> |
Conjunction.getDisjunctiveNormalForm() |
java.util.stream.Stream<VarAdmin> |
VarProperty.getImplicitInnerVars()
Get a stream of any inner
VarAdmin within this `VarProperty`, including any that may have been
implicitly created (such as with "has-resource"). |
Set<VarAdmin> |
VarAdmin.getImplicitInnerVars()
Get all inner variables, including implicit variables such as in a has-resource property
|
Optional<VarAdmin> |
ValuePredicateAdmin.getInnerVar() |
java.util.stream.Stream<VarAdmin> |
VarProperty.getInnerVars()
Get a stream of any inner
VarAdmin within this `VarProperty`. |
Set<VarAdmin> |
VarAdmin.getInnerVars() |
Optional<VarAdmin> |
RelationPlayer.getRoleType() |
java.util.stream.Stream<VarAdmin> |
VarProperty.getTypes()
Get a stream of
VarAdmin that must be types. |
default Set<VarAdmin> |
PatternAdmin.getVars() |
Collection<VarAdmin> |
InsertQueryAdmin.getVars() |
| Modifier and Type | Method and Description |
|---|---|
static VarAdmin |
Patterns.mergeVars(Collection<VarAdmin> vars) |
static VarAdmin |
Patterns.var() |
static VarAdmin |
Patterns.var(String name) |
| Modifier and Type | Method and Description |
|---|---|
static VarAdmin |
Patterns.mergeVars(Collection<VarAdmin> vars) |
| Modifier and Type | Method and Description |
|---|---|
VarAdmin |
HasResourceProperty.getResource() |
VarAdmin |
HasResourceTypeProperty.getResourceType() |
VarAdmin |
PlaysRoleProperty.getRole() |
VarAdmin |
HasRoleProperty.getRole() |
VarAdmin |
HasScopeProperty.getScope() |
VarAdmin |
SubProperty.getSuperType() |
VarAdmin |
IsaProperty.getType() |
| Modifier and Type | Method and Description |
|---|---|
default void |
VarPropertyInternal.checkInsertable(VarAdmin var)
Check if the given property can be inserted
|
void |
ValueProperty.checkInsertable(VarAdmin var) |
void |
RelationProperty.checkInsertable(VarAdmin var) |
void |
VarPropertyInternal.checkValid(GraknGraph graph,
VarAdmin var)
Check if the given property can be used in a match query
|
void |
RelationProperty.checkValidProperty(GraknGraph graph,
VarAdmin var) |
void |
IsaProperty.checkValidProperty(GraknGraph graph,
VarAdmin var) |
| Constructor and Description |
|---|
HasResourceProperty(String resourceType,
VarAdmin resource) |
HasResourceProperty(VarAdmin resource) |
HasResourceTypeProperty(VarAdmin resourceType,
boolean required) |
HasRoleProperty(VarAdmin role) |
HasScopeProperty(VarAdmin scope) |
IsaProperty(VarAdmin type) |
NeqProperty(VarAdmin var) |
PlaysRoleProperty(VarAdmin role,
boolean required) |
SubProperty(VarAdmin superType) |
| Modifier and Type | Method and Description |
|---|---|
Concept |
InsertQueryExecutor.getConcept(VarAdmin var) |
| Modifier and Type | Method and Description |
|---|---|
static DeleteQueryAdmin |
Queries.delete(Collection<VarAdmin> deleters,
MatchQuery matchQuery) |
static InsertQueryAdmin |
Queries.insert(com.google.common.collect.ImmutableCollection<VarAdmin> vars,
MatchQueryAdmin matchQuery) |
| Modifier and Type | Method and Description |
|---|---|
static ValuePredicate |
Predicates.contains(VarAdmin var) |
static ValuePredicate |
Predicates.gt(VarAdmin var) |
static ValuePredicate |
Predicates.gte(VarAdmin var) |
static ValuePredicate |
Predicates.lt(VarAdmin var) |
static ValuePredicate |
Predicates.lte(VarAdmin var) |
| Modifier and Type | Method and Description |
|---|---|
static Set<Atomic> |
PropertyMapper.map(VarProperty prop,
VarAdmin var,
Set<VarAdmin> vars,
Query parent,
GraknGraph graph) |
| Modifier and Type | Method and Description |
|---|---|
static Set<Atomic> |
PropertyMapper.map(VarProperty prop,
VarAdmin var,
Set<VarAdmin> vars,
Query parent,
GraknGraph graph) |
| Constructor and Description |
|---|
Atom(VarAdmin pattern) |
Atom(VarAdmin pattern,
Query par) |
AtomBase(VarAdmin pattern,
Query par) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
TypeAtom.extractTypeId(VarAdmin var) |
protected String |
Resource.extractTypeId(VarAdmin var) |
protected abstract String |
Binary.extractTypeId(VarAdmin var) |
protected String |
TypeAtom.extractValueVariableName(VarAdmin var) |
protected String |
Resource.extractValueVariableName(VarAdmin var) |
protected String |
Relation.extractValueVariableName(VarAdmin var) |
protected abstract String |
Binary.extractValueVariableName(VarAdmin var) |
| Constructor and Description |
|---|
Binary(VarAdmin pattern,
Predicate p,
Query par) |
HasRole(VarAdmin pattern,
Predicate relPredicate,
Predicate predicate,
Query par) |
Relation(VarAdmin pattern) |
Relation(VarAdmin pattern,
Predicate predicate,
Query par) |
Relation(VarAdmin pattern,
Query par) |
Resource(VarAdmin pattern) |
Resource(VarAdmin pattern,
Predicate p,
Query par) |
Resource(VarAdmin pattern,
Query par) |
TypeAtom(VarAdmin pattern) |
TypeAtom(VarAdmin pattern,
Predicate p,
Query par) |
TypeAtom(VarAdmin pattern,
Query par) |
| Modifier and Type | Method and Description |
|---|---|
static VarAdmin |
IdPredicate.createIdVar(String varName,
String typeId) |
static VarAdmin |
ValuePredicate.createValueVar(String name,
ValuePredicateAdmin pred) |
| Modifier and Type | Method and Description |
|---|---|
protected ValuePredicateAdmin |
ValuePredicate.extractPredicate(VarAdmin pattern) |
protected abstract T |
Predicate.extractPredicate(VarAdmin pattern) |
protected String |
IdPredicate.extractPredicate(VarAdmin var) |
| Constructor and Description |
|---|
IdPredicate(VarAdmin pattern) |
IdPredicate(VarAdmin pattern,
Query par) |
Predicate(VarAdmin pattern) |
Predicate(VarAdmin pattern,
Query par) |
ValuePredicate(VarAdmin pattern) |
ValuePredicate(VarAdmin pattern,
Query par) |
| Modifier and Type | Method and Description |
|---|---|
static Collection<VarAdmin> |
AdminConverter.getVarAdmins(Collection<? extends Var> patterns) |
Copyright © 2016 Grakn Labs Ltd. All rights reserved.