public final class JDBCState extends ContentState
batchFeatureEvent, bounds, count, entry, featureType, listeners, transactionState, tx
Constructor and Description |
---|
JDBCState(ContentEntry entry)
Creates a new state object.
|
JDBCState(JDBCState state)
Creates the state from an existing one.
|
Modifier and Type | Method and Description |
---|---|
ContentState |
copy()
Copies the state.
|
void |
flush()
Flushes all cached state.
|
PrimaryKey |
getPrimaryKey()
The cached primary key.
|
boolean |
isExposePrimaryKeyColumns()
Returns the flag indicating if columns which compose the primary key are exposed via the
feature type.
|
void |
setExposePrimaryKeyColumns(boolean exposePrimaryKeyColumns)
Sets the flag indicating if columns which compose the primary key are exposed via the feature
type.
|
void |
setPrimaryKey(PrimaryKey primaryKey)
Sets the cached primary key.
|
addListener, close, fireBatchFeatureEvent, fireFeatureAdded, fireFeatureEvent, fireFeatureRemoved, fireFeatureUpdated, getBatchFeatureEvent, getBounds, getCount, getEntry, getFeatureType, getTransaction, hasListener, removeListener, setBounds, setCount, setFeatureType, setTransaction
public JDBCState(JDBCState state)
public JDBCState(ContentEntry entry)
public PrimaryKey getPrimaryKey()
public void setPrimaryKey(PrimaryKey primaryKey)
primaryKey
- public boolean isExposePrimaryKeyColumns()
public void setExposePrimaryKeyColumns(boolean exposePrimaryKeyColumns)
public void flush()
flush
in class ContentState
public ContentState copy()
copy
in class ContentState
Copyright © 1996–2019 Geotools. All rights reserved.