org.acme.sample.tmplugin
Class SampleReader

java.lang.Object
  extended by org.gcube.data.tmf.impl.AbstractReader
      extended by org.acme.sample.tmplugin.SampleReader
All Implemented Interfaces:
Serializable, org.gcube.data.tmf.api.SourceReader

public class SampleReader
extends org.gcube.data.tmf.impl.AbstractReader

See Also:
Serialized Form

Constructor Summary
SampleReader(SampleSource source)
           
 
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
 

Constructor Detail

SampleReader

public SampleReader(SampleSource source)
Method Detail

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

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


Copyright © 2012. All Rights Reserved.