|
OpenAPI 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AQTableWriter
This interface facilitates writing of data rows and a data sets to a database table.
Method Summary | |
---|---|
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. |
Methods inherited from interface com.aquafold.openapi.io.AQDataWriter |
---|
close, write, write, write, write |
Method Detail |
---|
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()
|
OpenAPI 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |