public class AtomicFactory extends Object
Factory class for creating atoms out of graql variables and patterns.
| Constructor and Description |
|---|
AtomicFactory() |
| Modifier and Type | Method and Description |
|---|---|
static Atomic |
create(Atomic atom,
Query parent) |
static Set<Atomic> |
createAtomSet(Conjunction<PatternAdmin> pattern,
Query parent,
GraknGraph graph) |
public static Atomic create(Atomic atom, Query parent)
atom - to be copiedparent - query the copied atom should belong topublic static Set<Atomic> createAtomSet(Conjunction<PatternAdmin> pattern, Query parent, GraknGraph graph)
pattern - conjunction of patterns to be converted to atomsparent - query the created atoms should belong tograph - graph of interestCopyright © 2017 Grakn Labs Ltd. All rights reserved.