| Modifier and Type | Field and Description |
|---|---|
List<FeatureAttributeDescriptor> |
attributes |
Connection |
connection |
protected JDBCStoreProviderWriter |
provider |
String |
sql |
| Constructor and Description |
|---|
JDBCAppender(JDBCStoreProviderWriter provider) |
| Modifier and Type | Method and Description |
|---|---|
void |
abort() |
void |
append(FeatureProvider feature) |
void |
begin() |
void |
end() |
protected void |
prepareSQLAndAttributeListForInsert(StringBuilder sqlb,
List<FeatureAttributeDescriptor> attributes) |
public String sql
public List<FeatureAttributeDescriptor> attributes
public Connection connection
protected JDBCStoreProviderWriter provider
public JDBCAppender(JDBCStoreProviderWriter provider)
public void begin()
throws DataException
begin in interface AppenderDataExceptionpublic void end()
throws DataException
end in interface AppenderDataExceptionpublic void abort()
throws DataException
abort in interface AppenderDataExceptionpublic void append(FeatureProvider feature) throws DataException
append in interface AppenderDataExceptionprotected void prepareSQLAndAttributeListForInsert(StringBuilder sqlb, List<FeatureAttributeDescriptor> attributes) throws DataException
DataException