| Modifier and Type | Method and Description |
|---|---|
<V> ResourceType<V> |
GraknGraph.putResourceType(String name,
ResourceType.DataType<V> dataType)
Create a Resource Type, or return a pre-existing Resource Type, with the specified name.
|
<V> ResourceType<V> |
GraknGraph.putResourceTypeUnique(String name,
ResourceType.DataType<V> dataType)
Create a unique Resource Type, or return a pre-existing Resource Type, with the specified name.
|
| Modifier and Type | Field and Description |
|---|---|
static ResourceType.DataType<Boolean> |
ResourceType.DataType.BOOLEAN |
static ResourceType.DataType<Double> |
ResourceType.DataType.DOUBLE |
static ResourceType.DataType<Long> |
ResourceType.DataType.LONG |
static ResourceType.DataType<String> |
ResourceType.DataType.STRING |
| Modifier and Type | Field and Description |
|---|---|
static Map<String,ResourceType.DataType<?>> |
ResourceType.DataType.SUPPORTED_TYPES |
| Modifier and Type | Method and Description |
|---|---|
ResourceType.DataType<D> |
Resource.dataType()
Retrieves the data type of this Resource's ResourceType.
|
ResourceType.DataType<D> |
ResourceType.getDataType()
Get the data type to which instances of the ResourceType must conform.
|
| Modifier and Type | Method and Description |
|---|---|
<V> ResourceType<V> |
AbstractGraknGraph.putResourceType(String name,
ResourceType.DataType<V> dataType) |
<V> ResourceType<V> |
AbstractGraknGraph.putResourceTypeUnique(String name,
ResourceType.DataType<V> dataType) |
| Modifier and Type | Method and Description |
|---|---|
Var |
Var.datatype(ResourceType.DataType<?> datatype) |
| Modifier and Type | Method and Description |
|---|---|
static ai.grakn.graql.internal.gremlin.fragment.DataTypeFragment |
Fragments.dataType(String start,
ResourceType.DataType dataType) |
| Modifier and Type | Method and Description |
|---|---|
ResourceType.DataType<?> |
DataTypeProperty.getDatatype() |
| Constructor and Description |
|---|
DataTypeProperty(ResourceType.DataType<?> datatype) |
| Modifier and Type | Method and Description |
|---|---|
ResourceType.DataType<?> |
DataTypeAtom.getDataType() |
| Modifier and Type | Method and Description |
|---|---|
ResourceType.DataType<?> |
OWLMigrator.owlBuiltInToGraknDatatype(org.semanticweb.owlapi.vocab.OWL2Datatype propertyType) |
Copyright © 2016 Grakn Labs Ltd. All rights reserved.