public interface AQTableWriter extends AQDataWriter
Modifier and Type | Method and Description |
---|---|
AQDataRow |
newDataRow()
Constructs a new empty data row.
|
void |
setDateFormat(String spec)
Sets the format for converting string input into
Date objects to be inserted into
database columns of DATE type. |
void |
setDateTimeFormat(String spec)
Sets the format for converting string input into
Date objects to be inserted into
database columns of DATETIME type. |
void |
setNumberFormat(String spec)
Sets default format for number columns.
|
void |
setTimeFormat(String spec)
Sets the format for converting string input into
Date objects to be inserted into
database columns of TIME type. |
void setDateFormat(String spec)
Date
objects to be inserted into
database columns of DATE type. This will only affect DATE types and not DATETIME types.spec
- Date format string according to SimpleDateFormat
convention.void setDateTimeFormat(String spec)
Date
objects to be inserted into
database columns of DATETIME type. This will only affect DATETIME types and not DATE type.spec
- Datetime format string according to SimpleDateFormat
convention.void setTimeFormat(String spec)
Date
objects to be inserted into
database columns of TIME type.spec
- Time format string according to SimpleDateFormat
convention.void setNumberFormat(String spec)
AQColumnDescriptor.getSqlType()
, is known.spec
- Format specification as defined by DecimalFormat
.AQDataRow newDataRow()
Copyright © 2017 AquaFold, Inc. All Rights Reserved. Use is subject to license terms.