Package gorsat.process
Class ProcessIteratorAdaptor
- java.lang.Object
-
- org.gorpipe.gor.model.GenomicIteratorBase
-
- gorsat.process.ProcessIteratorAdaptor
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.AutoCloseable,java.util.Iterator<org.gorpipe.gor.model.Row>,org.gorpipe.gor.model.GenomicIterator,org.gorpipe.gor.model.RowSourceStats
public class ProcessIteratorAdaptor extends org.gorpipe.gor.model.GenomicIteratorBase implements java.io.SerializableCreated by sigmar on 03/11/15.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProcessIteratorAdaptor(org.gorpipe.gor.session.GorContext context, java.lang.String cmd, java.lang.String alias, java.util.Iterator<org.gorpipe.gor.model.Row> rs, gorsat.Commands.Analysis an, java.lang.String header, boolean skipheader, java.util.Optional<java.lang.String> skip, boolean allowerror, boolean nor)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()booleanhasNext()booleanisBuffered()org.gorpipe.gor.model.Rownext()booleanseek(java.lang.String seekChr, int seekPos)static voidsubCommandSplit(java.nio.file.Path fileRoot, java.lang.String subCommand, java.util.List<java.lang.String> split)-
Methods inherited from class org.gorpipe.gor.model.GenomicIteratorBase
clone, decStat, getBufferSize, getContext, getHeader, getSourceName, incStat, init, initStats, isSourceAlreadyInserted, setBufferSize, setContext, setHeader, setSourceAlreadyInserted, setSourceName
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Constructor Detail
-
ProcessIteratorAdaptor
public ProcessIteratorAdaptor(org.gorpipe.gor.session.GorContext context, java.lang.String cmd, java.lang.String alias, java.util.Iterator<org.gorpipe.gor.model.Row> rs, gorsat.Commands.Analysis an, java.lang.String header, boolean skipheader, java.util.Optional<java.lang.String> skip, boolean allowerror, boolean nor) throws java.io.IOException- Throws:
java.io.IOException
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNextin interfacejava.util.Iterator<org.gorpipe.gor.model.Row>
-
next
public org.gorpipe.gor.model.Row next()
- Specified by:
nextin interfacejava.util.Iterator<org.gorpipe.gor.model.Row>
-
seek
public boolean seek(java.lang.String seekChr, int seekPos)- Specified by:
seekin interfaceorg.gorpipe.gor.model.GenomicIterator
-
close
public void close()
- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfaceorg.gorpipe.gor.model.GenomicIterator
-
isBuffered
public boolean isBuffered()
- Specified by:
isBufferedin interfaceorg.gorpipe.gor.model.GenomicIterator
-
subCommandSplit
public static void subCommandSplit(java.nio.file.Path fileRoot, java.lang.String subCommand, java.util.List<java.lang.String> split)
-
-