geopackage-sdk/src/main/java/mil/nga/geopackage/features/user/FeatureTableReader.java
@Override
    protected FeatureColumn createColumn(FeatureCursor cursor, int index, String name,
                                         String type, Long max, boolean notNull, int defaultValueIndex,
                                         boolean primaryKey) {

        boolean geometry = name.equalsIgnoreCase(geometryColumns.getColumnName());

        GeometryType geometryType = null;
        GeoPackageDataType dataType = null;
        if (geometry) {
            geometryType = GeometryType.fromName(type);
            dataType = GeoPackageDataType.BLOB;
        } else {
            dataType = GeoPackageDataType.fromName(type);
        }
        Object defaultValue = cursor.getValue(
                defaultValueIndex, dataType);

        FeatureColumn column = new FeatureColumn(index, name, dataType, max,
                notNull, defaultValue, primaryKey, geometryType);

        return column;
    }
@Override
    protected FeatureColumn createColumn(FeatureCursor cursor, int index, String name,
                                         String type, Long max, boolean notNull, int defaultValueIndex,
                                         boolean primaryKey) {

        boolean geometry = name.equalsIgnoreCase(geometryColumns.getColumnName());

        GeometryType geometryType = null;
        GeoPackageDataType dataType = null;
        if (geometry) {
            geometryType = GeometryType.fromName(type);
            dataType = GeoPackageDataType.BLOB;
        } else {
            dataType = GeoPackageDataType.fromName(type);
        }
        Object defaultValue = cursor.getValue(
                defaultValueIndex, dataType);

        FeatureColumn column = new FeatureColumn(index, name, dataType, max,
                notNull, defaultValue, primaryKey, geometryType);

        return column;
    }
@ Override protected FeatureColumn createColumn ( FeatureCursor cursor , int index , String name , String type , Long max , boolean notNull , int defaultValueIndex , boolean primaryKey ) { boolean geometry = name . equalsIgnoreCase ( geometryColumns . getColumnName ( ) ) ; GeometryType geometryType = null ; GeoPackageDataType dataType = null ; if ( geometry ) { geometryType = GeometryType . fromName ( type ) ; dataType = GeoPackageDataType . BLOB ; } else { dataType = GeoPackageDataType . fromName ( type ) ; } Object defaultValue = cursor . getValue ( defaultValueIndex , dataType ) ; FeatureColumn column = new FeatureColumn ( index , name , dataType , max , notNull , defaultValue , primaryKey , geometryType ) ; return column ; }
{@inheritDoc}
{