| Package | Description |
|---|---|
| org.gcube.data.trees.data | |
| org.gcube.data.trees.generators | |
| org.gcube.data.trees.io | |
| org.gcube.data.trees.streams |
| Modifier and Type | Method and Description |
|---|---|
Tree |
Tree.delta(Tree future)
Returns a tree that reflects the delta between this tree and a given tree, or
null if
the tree are equals. |
static Tree |
Nodes.t(Edge... edges)
|
static Tree |
Nodes.t(String id,
Edge... edges)
|
static Tree |
Nodes.t(String collID,
String id,
Edge... edges)
|
static Tree |
Nodes.t(Tree root)
Clones a
Tree. |
| Modifier and Type | Method and Description |
|---|---|
Tree |
Tree.delta(Tree future)
Returns a tree that reflects the delta between this tree and a given tree, or
null if
the tree are equals. |
static Tree |
Nodes.t(Tree root)
Clones a
Tree. |
| Constructor and Description |
|---|
Tree(Tree tree)
Copy constructor, creates an instance as a clone of a given tree.
|
| Modifier and Type | Method and Description |
|---|---|
Tree |
SimilarityTemplate.generate()
Generates a
Tree from this template. |
Tree |
TreeTemplate.generate()
Generates a
Tree from this template. |
abstract Tree |
AbstractTreeTemplate.generate()
Generates a
Tree from this template. |
Tree |
StructuralTemplate.generate()
Generates a
Tree from this template. |
| Modifier and Type | Method and Description |
|---|---|
Iterator<Tree> |
TreeTemplate.generate(long size)
|
Iterator<Tree> |
AbstractTreeTemplate.generate(long size)
|
| Modifier and Type | Method and Description |
|---|---|
static SimilarityTemplate |
TemplateFactory.aTreeLike(Tree proto)
Returns a
SimilarityTemplate for a given prototype and a similarity coefficient of .9. |
static SimilarityTemplate |
TemplateFactory.aTreeLike(Tree proto,
double similarity)
Returns a
SimilarityTemplate for a given prototype and similarity coefficient. |
| Constructor and Description |
|---|
SimilarityTemplate(Tree proto,
double similarity) |
| Modifier and Type | Method and Description |
|---|---|
Tree |
TreeBinder.bind(T data)
Binds an instance of the data to a tree.
|
static Tree |
Bindings.fromElement(Element element)
Deprecated.
|
static Tree |
XMLBindings.fromElement(Element element)
Parses a
Tree from its XML representation. |
static Tree |
Bindings.fromReader(Reader reader)
Deprecated.
|
static Tree |
Bindings.fromStream(InputStream stream)
Deprecated.
Binds an
InputStream to a Tree. |
static Tree |
XMLBindings.fromStream(InputStream stream)
Parses a
Tree from its XML representation. |
static Tree |
XMLBindings.fromStream(Reader stream)
Parses a
Tree from its XML representation. |
static Tree |
XMLBindings.fromString(String xml)
Parses a
Tree from its XML representation. |
| Modifier and Type | Method and Description |
|---|---|
T |
TreeBinder.bind(Tree tree)
Binds a tree to an instance of the data.
|
static Element |
Bindings.toElement(Tree tree)
Deprecated.
|
static Element |
XMLBindings.toElement(Tree tree)
Converts a
Tree to its XML representation. |
static Element |
XMLBindings.toElement(Tree tree,
WriteOptions options)
Converts a
Tree to its XML representation. |
static void |
XMLBindings.toStream(Tree tree,
OutputStream stream)
Converts a
Tree to its XML representation. |
static void |
XMLBindings.toStream(Tree tree,
OutputStream stream,
WriteOptions options)
Converts a
Tree to its XML representation. |
static void |
XMLBindings.toStream(Tree tree,
Writer stream)
Converts a
Tree to its XML representation. |
static void |
XMLBindings.toStream(Tree tree,
Writer stream,
WriteOptions options)
Converts a
Tree to its XML representation. |
static String |
XMLBindings.toString(Tree tree)
Converts a
Tree to its XML representation. |
static String |
XMLBindings.toString(Tree tree,
WriteOptions options)
Converts a
Tree to its XML representation. |
static String |
Bindings.toText(Tree t)
Deprecated.
|
static void |
Bindings.toWriter(Tree t,
Writer stream,
boolean... writeDeclaration)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Tree |
TreeStreams.TreeParser.yield(String payload) |
| Modifier and Type | Method and Description |
|---|---|
static <T> org.gcube.data.streams.dsl.publish.PublishRsWithClause<Tree> |
TreeStreams.publishTreesIn(org.gcube.data.streams.Stream<Tree> stream)
Publishes a
Stream of Trees as a result set. |
static org.gcube.data.streams.Stream<Tree> |
TreeStreams.treesIn(URI locator)
Converts a Result Set with
Trees into a Stream. |
| Modifier and Type | Method and Description |
|---|---|
String |
TreeStreams.TreeSerialiser.yield(Tree tree) |
| Modifier and Type | Method and Description |
|---|---|
static <T> org.gcube.data.streams.dsl.publish.PublishRsWithClause<Tree> |
TreeStreams.publishTreesIn(org.gcube.data.streams.Stream<Tree> stream)
Publishes a
Stream of Trees as a result set. |
Copyright © 2018. All Rights Reserved.