org.gcube.data.speciesplugin
Class SpeciesReader

java.lang.Object
  extended by org.gcube.data.tmf.impl.AbstractReader
      extended by org.gcube.data.speciesplugin.SpeciesReader
All Implemented Interfaces:
Serializable, org.gcube.data.tmf.api.SourceReader

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

Author:
"Federico De Faveri defaveri@isti.cnr.it", "Valentina Marioli valentina.marioli@isti.cnr.it"
See Also:
Serialized Form

Field Summary
protected  SourceIdFiller sourceIdFiller
           
 
Constructor Summary
SpeciesReader(SpeciesSource source)
          Creates an instance for a SpeciesSource
 
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)
          
protected  SourceIdFiller getSourceIdFiller()
           
 
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
 

Field Detail

sourceIdFiller

protected transient SourceIdFiller sourceIdFiller
Constructor Detail

SpeciesReader

public SpeciesReader(SpeciesSource source)
Creates an instance for a SpeciesSource

Parameters:
source - the source
Method Detail

getSourceIdFiller

protected SourceIdFiller getSourceIdFiller()

get

public org.gcube.data.trees.data.Tree get(String id,
                                          org.gcube.data.trees.patterns.Pattern pattern)
                                   throws org.gcube.data.tmf.api.exceptions.UnknownTreeException,
                                          org.gcube.data.tmf.api.exceptions.InvalidTreeException,
                                          Exception

Throws:
org.gcube.data.tmf.api.exceptions.UnknownTreeException
org.gcube.data.tmf.api.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 © 2014. All Rights Reserved.