public class RelationSchema extends Schema
Schema
for metadata about existing relations. Each relation
corresponds more or less to a table in an RDBMS. A relation "exists" when
there are indices for its data. An IRelation
is a Class that
allows you to read or write on the relation's data. Given the
NAMESPACE
of a relation, the RelationSchema
specifies
the CLASS
that should be instantiated when an IRelation
instance is created to operation on some relation's data. The schema is
freely extensible and may be used to store additional properties that are
made available to the IRelation
when a new instance of that
Class
is instantiated. The relation namespace keys are Unicode.Modifier and Type | Field and Description |
---|---|
static String |
CLASS
The name of the property whose value is the name of the
Class
used to instantiate the ILocatableResource . |
static String |
COMMIT_TIME
A dynamically injected property which can reveal the commit time from
which a locatable resource was materialized.
|
static String |
CONTAINER
The name of the property whose value is namespace of the container (if
any) for this the
ILocatableResource resource having NAMESPACE
as its resource identifier. |
static RelationSchema |
INSTANCE
A shared instance.
|
static String |
NAMESPACE
The name of the property whose value is the namespace of the
ILocatableResource (this is the primary key). |
Constructor and Description |
---|
RelationSchema()
De-serialization ctor.
|
appendPrimaryKey, fromKey, getKey, getName, getPrefix, getPrimaryKeyName, getPrimaryKeyType, getSchemaBytes, readExternal, toString, writeExternal
public static final String NAMESPACE
ILocatableResource
(this is the primary key).public static final String CLASS
Class
used to instantiate the ILocatableResource
.public static final String CONTAINER
ILocatableResource
resource having NAMESPACE
as its resource identifier. When defined, this value MUST be a prefix of
the value stored under the NAMESPACE
property.public static final String COMMIT_TIME
DefaultResourceLocator
,
AbstractResource
,
TODO This is a workaround for and should be removed when we replace
the native long tx identifier with a thin interface.
public static final transient RelationSchema INSTANCE
public RelationSchema()
INSTANCE
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.