public class HsqldbDaqNumericWriter extends HsqldbDaqAbstractReader<T> implements NumericWriter
| Constructor and Description |
|---|
HsqldbDaqNumericWriter(DataSource dataSource,
String table) |
| Modifier and Type | Method and Description |
|---|---|
long |
delete(Instant from,
Instant to) |
long |
delete(long[] tags,
Instant from,
Instant to) |
protected String |
getSqlTypeName() |
protected Double |
getValue(ResultSet resultSet,
int index) |
Set<DataRecordKey> |
merge(List<DataRecord<T>> dataRecords,
boolean insertOnly) |
protected void |
setValue(PreparedStatement statement,
int index,
Double value) |
protected byte[] |
toByteArray(Double value) |
close, fetchRecord, fetchRecords, getRecordCount, hash, tagCount, tagsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfetchRecord, fetchRecords, hash, tagCount, tagsgetRecordCountclosepublic HsqldbDaqNumericWriter(DataSource dataSource, String table)
protected void setValue(PreparedStatement statement, int index, Double value) throws SQLException
setValue in class HsqldbDaqAbstractReader<Double>SQLExceptionprotected Double getValue(ResultSet resultSet, int index) throws SQLException
getValue in class HsqldbDaqAbstractReader<Double>SQLExceptionprotected byte[] toByteArray(@Nonnull Double value)
toByteArray in class HsqldbDaqAbstractReader<Double>protected String getSqlTypeName()
getSqlTypeName in class HsqldbDaqAbstractReader<Double>public long delete(Instant from, Instant to)
delete in interface DaqWriter<T extends Serializable>public long delete(long[] tags,
Instant from,
Instant to)
delete in interface DaqWriter<T extends Serializable>public Set<DataRecordKey> merge(List<DataRecord<T>> dataRecords, boolean insertOnly)
merge in interface DaqWriter<T extends Serializable>Copyright © 2012–2017 MARID software development group. All rights reserved.