Package uk.ac.starlink.ttools.cone
Class CoverageQuerySequenceFactory
java.lang.Object
uk.ac.starlink.ttools.cone.CoverageQuerySequenceFactory
- All Implemented Interfaces:
QuerySequenceFactory
Wrapper QuerySequenceFactory that filters out elements outside of
a given coverage object.
The
ConeQueryRowSequence.getIndex()
values of this sequence
will be those of the underlying ConeQueryRowSequences, so will miss
out values for those elements that are excluded.- Since:
- 12 Jun 2014
- Author:
- Mark Taylor
-
Constructor Summary
ConstructorsConstructorDescriptionCoverageQuerySequenceFactory
(QuerySequenceFactory baseFact, Coverage coverage) Constructor. -
Method Summary
Modifier and TypeMethodDescriptioncreateQuerySequence
(uk.ac.starlink.table.StarTable table) Creates a query sequence.
-
Constructor Details
-
CoverageQuerySequenceFactory
Constructor.- Parameters:
baseFact
- base QuerySequenceFactorycoverage
- coverage object
-
-
Method Details
-
createQuerySequence
public ConeQueryRowSequence createQuerySequence(uk.ac.starlink.table.StarTable table) throws IOException Description copied from interface:QuerySequenceFactory
Creates a query sequence.- Specified by:
createQuerySequence
in interfaceQuerySequenceFactory
- Parameters:
table
- input table- Throws:
IOException
-