public abstract class FIDReader extends Object
The supported strategies are:
Modifier and Type | Class and Description |
---|---|
static class |
FIDReader.SdeManagedFidReader |
static class |
FIDReader.ShapeFidReader |
static class |
FIDReader.UserManagedFidReader |
Modifier and Type | Field and Description |
---|---|
protected String |
layerName |
static FIDReader |
NULL_READER |
Modifier and Type | Method and Description |
---|---|
int |
getColumnIndex() |
String |
getFidColumn() |
static FIDReader |
getFidReader(ISession session,
SeTable table,
SeLayer layer,
SeRegistration reg)
Returns a FID strategy appropriate for the given SeLayer
|
String[] |
getPropertiesToFetch(SimpleFeatureType schema)
Returns the attribute names of the FeatureType passed to the constructor.
|
long |
readFid(SdeRow row) |
void |
setColumnIndex(int fidIndex) |
protected String layerName
public static final FIDReader NULL_READER
public String getFidColumn()
public void setColumnIndex(int fidIndex)
public int getColumnIndex()
public long readFid(SdeRow row) throws IOException
IOException
public String[] getPropertiesToFetch(SimpleFeatureType schema) throws IOException
the
- feature type containing the properties the client code is interested in. May well
be a subset of the full set of attributes in the SeLayerIOException
- if an arcsde exception is thrown somehow.public static FIDReader getFidReader(ISession session, SeTable table, SeLayer layer, SeRegistration reg) throws IOException
session
- tableName
- IOException
Copyright © 1996–2019 Geotools. All rights reserved.