public class GaussDBInsertCursorBatch extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Connection |
connection |
protected SimpleDateFormat |
dateFormat |
protected IFeatureClass |
featureClass |
protected IFields |
fields |
protected String |
insertSqlFormat |
protected org.slf4j.Logger |
logger |
protected int |
srid |
protected StringBuilder |
stringBuilder |
protected ITable |
table |
protected JdbcWorkspace |
workspace |
| Modifier | Constructor and Description |
|---|---|
protected |
GaussDBInsertCursorBatch(JdbcWorkspace workspace,
ITable table) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
deleteFeature()
删除要素
|
boolean |
deleteRow()
删除行
|
protected boolean |
flush() |
IFields |
getFields()
获取字段列表
|
ITable |
getTable()
获取表格数据集
|
boolean |
insertFeature(IFeature buffer)
插入要素
|
boolean |
insertRow(IRow buffer)
插入行
|
IFeature |
nextFeature()
获取下一个要素
|
IRow |
nextRow()
获取下一行
|
void |
release()
释放资源
|
boolean |
updateFeature(IFeature feature)
更新要素
|
boolean |
updateRow(IRow row)
更新行
|
protected final org.slf4j.Logger logger
protected final SimpleDateFormat dateFormat
protected Connection connection
protected JdbcWorkspace workspace
protected ITable table
protected IFeatureClass featureClass
protected IFields fields
protected int srid
protected String insertSqlFormat
protected StringBuilder stringBuilder
protected GaussDBInsertCursorBatch(JdbcWorkspace workspace, ITable table)
protected boolean flush()
public IFields getFields()
IFeatureCursorgetFields in interface ICursorgetFields in interface IFeatureCursorpublic IFeature nextFeature()
IFeatureCursornextFeature in interface IFeatureCursorpublic void release()
IFeatureCursorrelease in interface ICursorrelease in interface IFeatureCursorpublic boolean deleteRow()
ICursorpublic boolean insertFeature(IFeature buffer)
IFeatureCursorinsertFeature in interface IFeatureCursorpublic boolean updateFeature(IFeature feature)
IFeatureCursorupdateFeature in interface IFeatureCursorpublic boolean deleteFeature()
IFeatureCursordeleteFeature in interface IFeatureCursorCopyright © 2025. All rights reserved.