| Modifier and Type | Method and Description |
|---|---|
static SALT_TYPE |
SALT_TYPE.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SALT_TYPE[] |
SALT_TYPE.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static Set<SALT_TYPE> |
SALT_TYPE.class2SaltType(Class<? extends Object>... classes)
Converts the given class, if it is a class of the Salt model into its
corresponding
SALT_TYPE. |
protected static Map<SALT_TYPE,Class<? extends Object>> |
SALT_TYPE.getSType2clazz()
|
| Modifier and Type | Method and Description |
|---|---|
SRelation |
SDocumentGraph.addNode(SNode source,
SNode target,
SALT_TYPE relationType)
Creates and returns a 'SRelation' of the type given by
sRelationType between source and target.
|
SRelation |
SDocumentGraph.createRelation(SNode source,
SNode target,
SALT_TYPE relationType,
String annotations)
Creates a
SRelation object, and sets its sSource and sTarget to
the passed ones. |
List<SNode> |
SDocumentGraph.getNodes(SALT_TYPE type)
Returns all nodes of the passed type.
|
List<DataSourceSequence> |
SDocumentGraph.getOverlappedDataSourceSequence(List<SNode> nodes,
SALT_TYPE... relationTypes)
Returns the sequences as
DataSourceSequence which are overlapped
by the given SNode node. |
List<DataSourceSequence> |
SDocumentGraph.getOverlappedDataSourceSequence(SNode node,
SALT_TYPE... relationTypes)
Returns the sequences as
DataSourceSequence which are overlapped
by the given SNode node. |
List<SToken> |
SDocumentGraph.getOverlappedTokens(SNode overlappingNode,
SALT_TYPE... overlappingRelationTypes)
Returns all tokens in the graph, which are overlapped by the passed node
and are reachable via relations having at least one of the passed types.
|
List<SRelation> |
SDocumentGraph.getRelations(SALT_TYPE type)
Returns all relations of the passed type.
|
List<SNode> |
SDocumentGraph.getRootsByRelation(SALT_TYPE... type)
|
com.google.common.collect.Multimap<String,SNode> |
SDocumentGraph.getRootsByRelationType(SALT_TYPE type)
Returns all nodes, which are roots for the given relation-class respects
to the given SType of the traversed relation.
|
| Modifier and Type | Method and Description |
|---|---|
SRelation |
SDocumentGraphImpl.addNode(SNode source,
SNode target,
SALT_TYPE sRelationType)
Creates and returns a 'SRelation' of the type given by
sRelationType between source and target.
|
SRelation |
SDocumentGraphImpl.createRelation(SNode sSource,
SNode sTarget,
SALT_TYPE sRelationType,
String sAnnotations)
Creates a
SRelation object, and sets its sSource and sTarget to
the passed ones. |
List<SNode> |
SDocumentGraphImpl.getNodes(SALT_TYPE type)
Returns all nodes of the passed type.
|
List<DataSourceSequence> |
SDocumentGraphImpl.getOverlappedDataSourceSequence(List<SNode> nodes,
SALT_TYPE... relationTypes)
Returns the sequences as
DataSourceSequence which are overlapped
by the given SNode node. |
List<DataSourceSequence> |
SDocumentGraphImpl.getOverlappedDataSourceSequence(SNode node,
SALT_TYPE... relationTypes)
Returns the sequences as
DataSourceSequence which are overlapped
by the given SNode node. |
List<SToken> |
SDocumentGraphImpl.getOverlappedTokens(SNode overlappingNode,
SALT_TYPE... relationTypes)
Returns all tokens in the graph, which are overlapped by the passed node
and are reachable via relations having at least one of the passed types.
|
List<SRelation> |
SDocumentGraphImpl.getRelations(SALT_TYPE type)
Returns all relations of the passed type.
|
List<SNode> |
SDocumentGraphImpl.getRootsByRelation(SALT_TYPE... type)
|
com.google.common.collect.Multimap<String,SNode> |
SDocumentGraphImpl.getRootsByRelationType(SALT_TYPE type)
Returns all nodes, which are roots for the given relation-class respects
to the given SType of the traversed relation.
|
| Modifier and Type | Method and Description |
|---|---|
List<SNode> |
SGraph.getChildren(SNode parent,
SALT_TYPE relationType)
Returns a list of nodes in base document.
|
List<SNode> |
SGraph.getSharedParent(List<SNode> children,
SALT_TYPE nodeType)
Returns a list of nodes that are the parents of every node in the given
base list.
|
| Modifier and Type | Method and Description |
|---|---|
List<SNode> |
SGraphImpl.getChildren(SNode parent,
SALT_TYPE relationType)
Returns a list of nodes in base document.
|
List<SNode> |
SGraphImpl.getSharedParent(List<SNode> children,
SALT_TYPE nodeType)
Returns a list of nodes that are the parents of every node in the given
base list.
|
| Modifier and Type | Method and Description |
|---|---|
static List<DataSourceSequence> |
DataSourceAccessor.getOverlappedDataSourceSequence(SDocumentGraph documentGraph,
List<SNode> nodes,
SALT_TYPE... relationTypes) |
static List<DataSourceSequence> |
DataSourceAccessor.getOverlappedDataSourceSequence(SDocumentGraph documentGraph,
SNode sNode,
SALT_TYPE... relationTypes) |
static List<SToken> |
DataSourceAccessor.getOverlappedSTokens(SDocumentGraph documentGraph,
SNode overlappingNode,
SALT_TYPE... relationTypes)
|
static List<SNode> |
DataSourceAccessor.getRootsByRelation(SDocumentGraph documentGraph,
SALT_TYPE... saltTypes)
|
static com.google.common.collect.Multimap<String,SNode> |
DataSourceAccessor.getRootsByRelationType(SDocumentGraph documentGraph,
SALT_TYPE sType)
Returns all nodes, which are roots for the given relation-class respects
to the given SType of the traversed relation.
|
Copyright © 2009–2019 Humboldt-Universität zu Berlin, INRIA. All rights reserved.