public final class DefaultEvidenceReaderCommand extends Object implements EvidenceReaderCommand
EvidenceReader
on demand.Constructor and Description |
---|
DefaultEvidenceReaderCommand(DataReaderCommand command,
List<VariableReference> variables,
ReaderOptions readerOptions)
Initializes a new instance of the
DefaultEvidenceReaderCommand class. |
DefaultEvidenceReaderCommand(DataReaderCommand command,
List<VariableReference> variables,
ReaderOptions readerOptions,
DataReaderCommand commandTemporal,
List<VariableReference> variablesTemporal,
TemporalReaderOptions temporalReaderOptions)
Initializes a new instance of the
DefaultEvidenceReaderCommand class, supporting both temporal and non temporal data. |
DefaultEvidenceReaderCommand(DataReaderCommand commandTemporal,
List<VariableReference> variablesTemporal,
TemporalReaderOptions temporalReaderOptions)
Initializes a new instance of the
DefaultEvidenceReaderCommand class. |
Modifier and Type | Method and Description |
---|---|
EvidenceReader |
executeReader()
Returns an instance of
IEvidenceReader which allows evidence to be iterated over. |
ExecuteEvidenceReader |
getOnExecuteReader()
Gets a function that is called when a new reader is created.
|
void |
setOnExecuteReader(ExecuteEvidenceReader value)
Sets a function that is called when a new reader is created.
|
public DefaultEvidenceReaderCommand(DataReaderCommand command, List<VariableReference> variables, ReaderOptions readerOptions)
DefaultEvidenceReaderCommand
class.command
- The data reader command to read non temporal data.variables
- The non temporal variables.readerOptions
- Options for reading the data.public DefaultEvidenceReaderCommand(DataReaderCommand commandTemporal, List<VariableReference> variablesTemporal, TemporalReaderOptions temporalReaderOptions)
DefaultEvidenceReaderCommand
class. This override is used when there is temporal data, but no non temporal data.commandTemporal
- The data reader command to read temporal data.variablesTemporal
- The temporal variables.temporalReaderOptions
- Options for reading temporal data.public DefaultEvidenceReaderCommand(DataReaderCommand command, List<VariableReference> variables, ReaderOptions readerOptions, DataReaderCommand commandTemporal, List<VariableReference> variablesTemporal, TemporalReaderOptions temporalReaderOptions)
DefaultEvidenceReaderCommand
class, supporting both temporal and non temporal data.command
- The data reader command to read non temporal data.variables
- The non temporal variables.readerOptions
- Options for reading non temporal data.commandTemporal
- The data reader command to read temporal data.variablesTemporal
- The temporal variables.temporalReaderOptions
- Options for reading temporal data.public ExecuteEvidenceReader getOnExecuteReader()
public void setOnExecuteReader(ExecuteEvidenceReader value)
public EvidenceReader executeReader()
IEvidenceReader
which allows evidence to be iterated over.executeReader
in interface EvidenceReaderCommand
Copyright © 2023. All rights reserved.