org.gcube.data.tr
Class Reader
java.lang.Object
org.gcube.data.tmf.impl.AbstractReader
org.gcube.data.tr.Reader
- All Implemented Interfaces:
- Serializable, org.gcube.data.tmf.api.SourceReader
public class Reader
- extends org.gcube.data.tmf.impl.AbstractReader
A SourceReader for TreeSources.
- Author:
- Fabio Simeoni
- See Also:
- Serialized Form
|
Method Summary |
org.gcube.data.streams.Stream<org.gcube.data.trees.data.Tree> |
get(org.gcube.data.trees.patterns.Pattern pattern)
|
org.gcube.data.trees.data.Tree |
get(String id,
org.gcube.data.trees.patterns.Pattern pattern)
|
| Methods inherited from class org.gcube.data.tmf.impl.AbstractReader |
get, getNode, getNodes |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Reader
public Reader(TreeSource source)
- Creates an instance for a
TreeSource
- Parameters:
source - the source
get
public org.gcube.data.trees.data.Tree get(String id,
org.gcube.data.trees.patterns.Pattern pattern)
throws org.gcube.data.tml.exceptions.UnknownTreeException,
org.gcube.data.tml.exceptions.InvalidTreeException,
Exception
- Throws:
org.gcube.data.tml.exceptions.UnknownTreeException
org.gcube.data.tml.exceptions.InvalidTreeException
Exception
get
public org.gcube.data.streams.Stream<org.gcube.data.trees.data.Tree> get(org.gcube.data.trees.patterns.Pattern pattern)
throws Exception
- Throws:
Exception
Copyright © 2012. All Rights Reserved.