org.geotools.arcsde.data
Class FIDReader.ShapeFidReader

java.lang.Object
  extended by org.geotools.arcsde.data.FIDReader
      extended by org.geotools.arcsde.data.FIDReader.ShapeFidReader
Enclosing class:
FIDReader

public static class FIDReader.ShapeFidReader
extends FIDReader


Nested Class Summary
 
Nested classes/interfaces inherited from class org.geotools.arcsde.data.FIDReader
FIDReader.SdeManagedFidReader, FIDReader.ShapeFidReader, FIDReader.UserManagedFidReader
 
Field Summary
 
Fields inherited from class org.geotools.arcsde.data.FIDReader
layerName, NULL_READER
 
Constructor Summary
FIDReader.ShapeFidReader(java.lang.String layerName, java.lang.String shapeColName, java.lang.String shapeIdColName)
           
 
Method Summary
 java.lang.String[] getPropertiesToFetch(org.opengis.feature.simple.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 org.geotools.arcsde.data.FIDReader
getColumnIndex, getFidColumn, getFidReader, setColumnIndex
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FIDReader.ShapeFidReader

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

readFid

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

getPropertiesToFetch

public java.lang.String[] getPropertiesToFetch(org.opengis.feature.simple.SimpleFeatureType schema)
                                        throws java.io.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:
java.io.IOException - if an arcsde exception is thrown somehow.


Copyright © 1996-2010 Geotools. All Rights Reserved.