| Modifier and Type | Field and Description |
|---|---|
protected Collection<Var> |
Loader.batch |
| Modifier and Type | Method and Description |
|---|---|
void |
Loader.addToQueue(Var var)
Add a single var to the queue
|
| Modifier and Type | Method and Description |
|---|---|
void |
Loader.addToQueue(Collection<? extends Var> vars)
Add multiple vars to the queue.
|
protected abstract void |
Loader.submitBatch(Collection<Var> batch)
Method to load data into the graph.
|
void |
DistributedLoader.submitBatch(Collection<Var> batch) |
protected void |
BlockingLoader.submitBatch(Collection<Var> vars) |
| Modifier and Type | Method and Description |
|---|---|
Var |
Var.ako(String type) |
Var |
Var.ako(Var type) |
Var |
Var.datatype(ResourceType.DataType<?> datatype) |
Var |
Var.has(String type) |
Var |
Var.has(String type,
Object value)
the variable must have a resource or name of the given type with an exact matching value
|
Var |
Var.has(String type,
ValuePredicate predicate)
the variable must have a resource or name of the given type that matches the given predicate
|
Var |
Var.has(String type,
Var var)
the variable must have a resource or name of the given type that matches the given predicate
|
Var |
Var.hasResource(String type) |
Var |
Var.hasResource(Var type) |
Var |
Var.hasRole(String type) |
Var |
Var.hasRole(Var type) |
Var |
Var.hasScope(Var type) |
static Var |
Graql.id(String id) |
Var |
Var.id(String id) |
Var |
Var.isa(String type) |
Var |
Var.isa(Var type) |
Var |
Var.isAbstract()
set this concept type variable as abstract, meaning it cannot have direct instances
|
Var |
Var.lhs(String lhs) |
Var |
Var.playsRole(String type) |
Var |
Var.playsRole(Var type) |
Var |
Var.regex(String regex)
Specify the regular expression instances of this resource type must match
|
Var |
Var.rel(String roleplayer)
the variable must be a relation with the given roleplayer
|
Var |
Var.rel(String roletype,
String roleplayer)
the variable must be a relation with the given roleplayer playing the given roletype
|
Var |
Var.rel(String roletype,
Var roleplayer)
the variable must be a relation with the given roleplayer playing the given roletype
|
Var |
Var.rel(Var roleplayer)
the variable must be a relation with the given roleplayer
|
Var |
Var.rel(Var roletype,
String roleplayer)
the variable must be a relation with the given roleplayer playing the given roletype
|
Var |
Var.rel(Var roletype,
Var roleplayer)
the variable must be a relation with the given roleplayer playing the given roletype
|
Var |
Var.rhs(String rhs) |
Var |
Var.value()
this variable must have a value
|
Var |
Var.value(Object value) |
Var |
Var.value(ValuePredicate predicate) |
static Var |
Graql.var() |
static Var |
Graql.var(String name) |
| Modifier and Type | Method and Description |
|---|---|
Var |
Var.ako(Var type) |
default DeleteQuery |
MatchQuery.delete(Var... deleters) |
Var |
Var.has(String type,
Var var)
the variable must have a resource or name of the given type that matches the given predicate
|
Var |
Var.hasResource(Var type) |
Var |
Var.hasRole(Var type) |
Var |
Var.hasScope(Var type) |
InsertQuery |
QueryBuilder.insert(Var... vars) |
static InsertQuery |
Graql.insert(Var... vars) |
default InsertQuery |
MatchQuery.insert(Var... vars) |
Var |
Var.isa(Var type) |
Var |
Var.playsRole(Var type) |
Var |
Var.rel(String roletype,
Var roleplayer)
the variable must be a relation with the given roleplayer playing the given roletype
|
Var |
Var.rel(Var roleplayer)
the variable must be a relation with the given roleplayer
|
Var |
Var.rel(Var roletype,
String roleplayer)
the variable must be a relation with the given roleplayer playing the given roletype
|
Var |
Var.rel(Var roletype,
Var roleplayer)
the variable must be a relation with the given roleplayer playing the given roletype
|
| Modifier and Type | Method and Description |
|---|---|
DeleteQuery |
MatchQuery.delete(Collection<? extends Var> deleters) |
InsertQuery |
QueryBuilder.insert(Collection<? extends Var> vars) |
static InsertQuery |
Graql.insert(Collection<? extends Var> vars) |
InsertQuery |
MatchQuery.insert(Collection<? extends Var> vars) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
VarAdmin
Admin class for inspecting a Var
|
| Modifier and Type | Method and Description |
|---|---|
default DeleteQuery |
MatchQueryInternal.delete(Collection<? extends Var> deleters) |
default InsertQuery |
MatchQueryInternal.insert(Collection<? extends Var> vars) |
| Modifier and Type | Method and Description |
|---|---|
static Set<VarAdmin> |
AdminConverter.getVarAdmins(Collection<? extends Var> patterns) |
| Modifier and Type | Method and Description |
|---|---|
static Var |
InstanceMapper.map(Entity entity) |
static Var |
InstanceMapper.map(Relation relation)
Exclude any relations that are mapped to an encountered resource
|
static Var |
InstanceMapper.map(Resource resource)
Exclude any resources that have been encountered while mapping an entity.
|
static Var |
InstanceMapper.map(Rule rule) |
static Var |
TypeMapper.map(Var var,
EntityType entityType) |
static Var |
TypeMapper.map(Var var,
RelationType relationType) |
static Var |
TypeMapper.map(Var var,
ResourceType resourceType) |
static Var |
TypeMapper.map(Var var,
RoleType roleType) |
static Var |
TypeMapper.map(Var var,
RuleType ruleType) |
| Modifier and Type | Method and Description |
|---|---|
static Var |
TypeMapper.map(Var var,
EntityType entityType) |
static Var |
TypeMapper.map(Var var,
RelationType relationType) |
static Var |
TypeMapper.map(Var var,
ResourceType resourceType) |
static Var |
TypeMapper.map(Var var,
RoleType roleType) |
static Var |
TypeMapper.map(Var var,
RuleType ruleType) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<Collection<Var>> |
SQLDataMigrator.iterator()
Iterate through the migration
|
Collection<Var> |
SQLSchemaMigrator.migrate() |
Collection<Var> |
SQLDataMigrator.migrate()
Migrate a CSV schema into a Mindmaps ontology
|
Copyright © 2016. All rights reserved.