Package gorsat.process
Class ProcessIteratorAdaptor
java.lang.Object
org.gorpipe.gor.model.GenomicIteratorBase
gorsat.process.ProcessIteratorAdaptor
- All Implemented Interfaces:
Serializable,AutoCloseable,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 Serializable
Created by sigmar on 03/11/15.
- See Also:
-
Field Summary
Fields inherited from class org.gorpipe.gor.model.GenomicIteratorBase
statsSenderAnnotation, statsSenderName -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.gorpipe.gor.model.GenomicIteratorBase
clone, decStat, getBufferSize, getContext, getHeader, getSourceName, getTypes, incStat, init, initStats, isSourceAlreadyInserted, setBufferSize, setContext, setHeader, setSourceAlreadyInserted, setSourceName, setTypesMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.gorpipe.gor.model.GenomicIterator
filter, getMonitor, moveToPosition, moveToPosition, pushdownCalc, pushdownCmd, pushdownFilter, pushdownGor, pushdownSelect, pushdownTop, pushdownWrite, seek, select, setRequestedRangeMethods inherited from interface java.util.Iterator
forEachRemaining, removeMethods inherited from interface org.gorpipe.gor.model.RowSourceStats
getAvgBasesPerMilliSecond, getAvgBatchSize, getAvgRowsPerMilliSecond, getAvgSeekTimeMilliSecond, getCurrentBatchLoc, getCurrentBatchRow, getCurrentBatchSize
-
Constructor Details
-
ProcessIteratorAdaptor
public ProcessIteratorAdaptor(org.gorpipe.gor.session.GorContext context, String cmd, String alias, Iterator<org.gorpipe.gor.model.Row> rs, gorsat.Commands.Analysis an, String header, boolean skipheader, Optional<String> skip, boolean allowerror, boolean nor) throws IOException - Throws:
IOException
-
-
Method Details
-
hasNext
public boolean hasNext() -
next
public org.gorpipe.gor.model.Row next() -
seek
- Specified by:
seekin interfaceorg.gorpipe.gor.model.GenomicIterator
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceorg.gorpipe.gor.model.GenomicIterator
-
isBuffered
public boolean isBuffered()- Specified by:
isBufferedin interfaceorg.gorpipe.gor.model.GenomicIterator
-
subCommandSplit
-