| Package | Description |
|---|---|
| ai.grakn |
A core package for connecting to a Grakn knowledge graph.
|
| ai.grakn.concept |
Provides the meta-ontology interfaces and definitions.
|
| ai.grakn.exception |
Grakn exception definitions.
|
| ai.grakn.graph.internal |
Internal implementation of Grakn graph.
|
| ai.grakn.graql |
A collection of interfaces and factories for executing Graql queries.
|
| ai.grakn.graql.internal.analytics | |
| ai.grakn.graql.internal.gremlin.fragment | |
| ai.grakn.graql.internal.gremlin.sets | |
| ai.grakn.graql.internal.parser | |
| ai.grakn.graql.internal.pattern | |
| ai.grakn.graql.internal.pattern.property | |
| ai.grakn.graql.internal.reasoner.atom.property | |
| ai.grakn.migration.owl |
Implements migration of OWL into Grakn.
|
| Modifier and Type | Method and Description |
|---|---|
<V> ResourceType<V> |
GraknGraph.putResourceType(Label label,
ResourceType.DataType<V> dataType)
Create a new non-unique
ResourceType with super-type resource, or return a pre-existing
non-unique ResourceType, with the specified label and data type. |
<V> ResourceType<V> |
GraknGraph.putResourceType(String label,
ResourceType.DataType<V> dataType)
Create a new non-unique
ResourceType with super-type resource, or return a pre-existing
non-unique ResourceType, with the specified label and data type. |
| Modifier and Type | Field and Description |
|---|---|
static ResourceType.DataType<Boolean> |
ResourceType.DataType.BOOLEAN |
static ResourceType.DataType<java.time.LocalDateTime> |
ResourceType.DataType.DATE |
static ResourceType.DataType<Double> |
ResourceType.DataType.DOUBLE |
static ResourceType.DataType<Float> |
ResourceType.DataType.FLOAT |
static ResourceType.DataType<Integer> |
ResourceType.DataType.INTEGER |
static ResourceType.DataType<Long> |
ResourceType.DataType.LONG |
static ResourceType.DataType<String> |
ResourceType.DataType.STRING |
| Modifier and Type | Field and Description |
|---|---|
static com.google.common.collect.ImmutableMap<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 |
|---|---|
static GraphOperationException |
GraphOperationException.invalidResourceValue(Object object,
ResourceType.DataType dataType)
Thrown when creating a resource whose value
object does not match it's resource's dataType. |
static GraqlQueryException |
GraqlQueryException.resourceMustBeANumber(ResourceType.DataType dataType,
Label resourceType) |
| Modifier and Type | Method and Description |
|---|---|
<V> ResourceType<V> |
AbstractGraknGraph.putResourceType(Label label,
ResourceType.DataType<V> dataType) |
<V> ResourceType<V> |
AbstractGraknGraph.putResourceType(String label,
ResourceType.DataType<V> dataType) |
| Modifier and Type | Method and Description |
|---|---|
VarPattern |
VarPattern.datatype(ResourceType.DataType<?> datatype) |
| Constructor and Description |
|---|
MaxMapReduce(Set<LabelId> selectedLabelIds,
ResourceType.DataType resourceDataType,
String degreePropertyKey) |
MeanMapReduce(Set<LabelId> selectedLabelIds,
ResourceType.DataType resourceDataType,
String degreeKey) |
MedianVertexProgram(Set<LabelId> selectedLabelId,
Set<LabelId> statisticsResourceLabelIds,
ResourceType.DataType resourceDataType,
String randomId) |
MinMapReduce(Set<LabelId> selectedLabelIds,
ResourceType.DataType resourceDataType,
String degreePropertyKey) |
StdMapReduce(Set<LabelId> selectedLabelIds,
ResourceType.DataType resourceDataType,
String degreePropertyKey) |
SumMapReduce(Set<LabelId> selectedLabelIds,
ResourceType.DataType resourceDataType,
String degreePropertyKey) |
| Modifier and Type | Method and Description |
|---|---|
static Fragment |
Fragments.dataType(Var start,
ResourceType.DataType dataType) |
| Modifier and Type | Method and Description |
|---|---|
static EquivalentFragmentSet |
EquivalentFragmentSets.dataType(Var resourceType,
ResourceType.DataType<?> dataType)
An
EquivalentFragmentSet that indicates a variable representing a resource type with a data-type. |
| Modifier and Type | Field and Description |
|---|---|
static com.google.common.collect.ImmutableBiMap<String,ResourceType.DataType> |
QueryParser.DATA_TYPES |
| Modifier and Type | Method and Description |
|---|---|
VarPattern |
AbstractVarPattern.datatype(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 © 2017 Grakn Labs Ltd. All rights reserved.