org.gcube.data.oai.tmplugin
Class OAIReader

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

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

See Also:
Serialized Form

Constructor Summary
OAIReader(OAISource source, Repository repository, List<Set> sets)
           
 
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)
           
 Long getCardinality()
           
 Summary summary()
           
 
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

OAIReader

public OAIReader(OAISource source,
                 Repository repository,
                 List<Set> sets)
Method Detail

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

summary

public Summary summary()
                throws Exception
Throws:
Exception

getCardinality

public Long getCardinality()


Copyright © 2013. All Rights Reserved.