org.geotools.arcsde.data
Class FIDReader.ShapeFidReader

Object
  extended by FIDReader
      extended by FIDReader.ShapeFidReader
Enclosing class:
FIDReader

public static class FIDReader.ShapeFidReader
extends FIDReader


Nested Class Summary
 
Nested classes/interfaces inherited from class FIDReader
FIDReader.SdeManagedFidReader, FIDReader.ShapeFidReader, FIDReader.UserManagedFidReader
 
Field Summary
 
Fields inherited from class FIDReader
layerName, NULL_READER
 
Constructor Summary
FIDReader.ShapeFidReader(String layerName, String shapeColName, String shapeIdColName)
           
 
Method Summary
 String[] getPropertiesToFetch(SimpleFeatureType schema)
          Overrides to include the geometry column whether it is required by the schema or not, since we need to get the fid from the geometry id.
 long readFid(SdeRow row)
           
 
Methods inherited from class FIDReader
getColumnIndex, getFidColumn, getFidReader, setColumnIndex
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FIDReader.ShapeFidReader

public FIDReader.ShapeFidReader(String layerName,
                                String shapeColName,
                                String shapeIdColName)
Method Detail

readFid

public long readFid(SdeRow row)
             throws IOException
Overrides:
readFid in class FIDReader
Throws:
IOException

getPropertiesToFetch

public String[] getPropertiesToFetch(SimpleFeatureType schema)
                              throws IOException
Overrides to include the geometry column whether it is required by the schema or not, since we need to get the fid from the geometry id.

Overrides:
getPropertiesToFetch in class FIDReader
Returns:
the list of property names to actually fetch for a given feature type, taking into account the ones that possibly need to be fetched to generate the feature id, even if they're not part of the schema.
Throws:
IOException - if an arcsde exception is thrown somehow.


Copyright © 1996-2014 Geotools. All Rights Reserved.