| Package | Description |
|---|---|
| ai.grakn.graql | |
| ai.grakn.graql.internal.query | |
| ai.grakn.graql.internal.template | |
| ai.grakn.graql.internal.template.macro | |
| ai.grakn.migration.base |
| Modifier and Type | Method and Description |
|---|---|
void |
QueryBuilder.registerMacro(Macro macro) |
| Modifier and Type | Method and Description |
|---|---|
void |
QueryBuilderImpl.registerMacro(Macro macro) |
| Modifier and Type | Method and Description |
|---|---|
void |
TemplateParser.registerMacro(String name,
Macro macro) |
| Constructor and Description |
|---|
TemplateVisitor(org.antlr.v4.runtime.CommonTokenStream tokens,
Map<String,Object> context,
Map<String,Macro<?>> macros) |
| Modifier and Type | Class and Description |
|---|---|
class |
BooleanMacro |
class |
ConcatMacro |
class |
DateMacro
Macro that will parse the given value (arg1) using the format (arg2) into another format (arg3)
or epoch time if no arg3 is provided.
|
class |
DoubleMacro |
class |
EqualsMacro |
class |
IntMacro |
class |
LongMacro
Macro that will convert the given value to a long
|
class |
LowerMacro
Macro that will convert the given value to lower case
|
class |
NoescpMacro |
class |
SplitMacro
Macro that splits the given value based on the given character
|
class |
StringMacro
Macro that will convert the given value to a quoted string
|
class |
UpperMacro
Macro that will convert the given value to upper case
|
| Modifier and Type | Method and Description |
|---|---|
AbstractMigrator |
AbstractMigrator.registerMacro(Macro macro)
Register a macro to use in templating
|
Copyright © 2016 Grakn Labs Ltd. All rights reserved.