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 Appender
DataException
public void end() throws DataException
end
in interface Appender
DataException
public void abort() throws DataException
abort
in interface Appender
DataException
public void append(FeatureProvider feature) throws DataException
append
in interface Appender
DataException
protected void prepareSQLAndAttributeListForInsert(StringBuilder sqlb, List<FeatureAttributeDescriptor> attributes) throws DataException
DataException