Class FeatureTableMetadata


  • public class FeatureTableMetadata
    extends UserTableMetadata<FeatureColumn>
    Feature Table Metadata for defining table creation information
    Since:
    4.0.0
    Author:
    osbornb
    • Field Detail

      • DEFAULT_DATA_TYPE

        public static final String DEFAULT_DATA_TYPE
        Default data type
      • DEFAULT_GEOMETRY_TYPE

        public static final GeometryType DEFAULT_GEOMETRY_TYPE
        Default geometry type
      • boundingBox

        protected BoundingBox boundingBox
        Bounding box
      • geometryColumns

        protected GeometryColumns geometryColumns
        Geometry columns
    • Constructor Detail

      • FeatureTableMetadata

        public FeatureTableMetadata()
        Constructor
      • FeatureTableMetadata

        public FeatureTableMetadata​(GeometryColumns geometryColumns,
                                    String idColumnName,
                                    List<FeatureColumn> additionalColumns,
                                    BoundingBox boundingBox)
        Constructor
        Parameters:
        geometryColumns - geometry columns
        idColumnName - id column name
        additionalColumns - additional columns
        boundingBox - bounding box
      • FeatureTableMetadata

        public FeatureTableMetadata​(String dataType,
                                    GeometryColumns geometryColumns,
                                    String idColumnName,
                                    List<FeatureColumn> additionalColumns,
                                    BoundingBox boundingBox)
        Constructor
        Parameters:
        dataType - data type
        geometryColumns - geometry columns
        idColumnName - id column name
        additionalColumns - additional columns
        boundingBox - bounding box
      • FeatureTableMetadata

        public FeatureTableMetadata​(GeometryColumns geometryColumns,
                                    String idColumnName,
                                    boolean autoincrement,
                                    List<FeatureColumn> additionalColumns,
                                    BoundingBox boundingBox)
        Constructor
        Parameters:
        geometryColumns - geometry columns
        idColumnName - id column name
        autoincrement - autoincrement ids
        additionalColumns - additional columns
        boundingBox - bounding box
      • FeatureTableMetadata

        public FeatureTableMetadata​(String dataType,
                                    GeometryColumns geometryColumns,
                                    String idColumnName,
                                    boolean autoincrement,
                                    List<FeatureColumn> additionalColumns,
                                    BoundingBox boundingBox)
        Constructor
        Parameters:
        dataType - data type
        geometryColumns - geometry columns
        idColumnName - id column name
        autoincrement - autoincrement ids
        additionalColumns - additional columns
        boundingBox - bounding box
      • FeatureTableMetadata

        public FeatureTableMetadata​(GeometryColumns geometryColumns,
                                    BoundingBox boundingBox,
                                    List<FeatureColumn> columns)
        Constructor
        Parameters:
        geometryColumns - geometry columns
        boundingBox - bounding box
        columns - columns
      • FeatureTableMetadata

        public FeatureTableMetadata​(String dataType,
                                    GeometryColumns geometryColumns,
                                    BoundingBox boundingBox,
                                    List<FeatureColumn> columns)
        Constructor
        Parameters:
        dataType - data type
        geometryColumns - geometry columns
        boundingBox - bounding box
        columns - columns
    • Method Detail

      • create

        public static FeatureTableMetadata create​(boolean autoincrement)
        Create metadata
        Parameters:
        autoincrement - autoincrement ids
        Returns:
        metadata
      • create

        public static FeatureTableMetadata create​(GeometryColumns geometryColumns,
                                                  boolean autoincrement)
        Create metadata
        Parameters:
        geometryColumns - geometry columns
        autoincrement - autoincrement ids
        Returns:
        metadata
      • create

        public static FeatureTableMetadata create​(GeometryColumns geometryColumns,
                                                  boolean autoincrement,
                                                  BoundingBox boundingBox)
        Create metadata
        Parameters:
        geometryColumns - geometry columns
        autoincrement - autoincrement ids
        boundingBox - bounding box
        Returns:
        metadata
      • create

        public static FeatureTableMetadata create​(GeometryColumns geometryColumns,
                                                  String idColumnName)
        Create metadata
        Parameters:
        geometryColumns - geometry columns
        idColumnName - id column name
        Returns:
        metadata
      • create

        public static FeatureTableMetadata create​(GeometryColumns geometryColumns,
                                                  String idColumnName,
                                                  boolean autoincrement)
        Create metadata
        Parameters:
        geometryColumns - geometry columns
        idColumnName - id column name
        autoincrement - autoincrement ids
        Returns:
        metadata
      • create

        public static FeatureTableMetadata create​(GeometryColumns geometryColumns,
                                                  String idColumnName,
                                                  BoundingBox boundingBox)
        Create metadata
        Parameters:
        geometryColumns - geometry columns
        idColumnName - id column name
        boundingBox - bounding box
        Returns:
        metadata
      • create

        public static FeatureTableMetadata create​(GeometryColumns geometryColumns,
                                                  String idColumnName,
                                                  boolean autoincrement,
                                                  BoundingBox boundingBox)
        Create metadata
        Parameters:
        geometryColumns - geometry columns
        idColumnName - id column name
        autoincrement - autoincrement ids
        boundingBox - bounding box
        Returns:
        metadata
      • create

        public static FeatureTableMetadata create​(GeometryColumns geometryColumns,
                                                  boolean autoincrement,
                                                  List<FeatureColumn> additionalColumns)
        Create metadata
        Parameters:
        geometryColumns - geometry columns
        autoincrement - autoincrement ids
        additionalColumns - additional columns
        Returns:
        metadata
      • create

        public static FeatureTableMetadata create​(GeometryColumns geometryColumns,
                                                  boolean autoincrement,
                                                  List<FeatureColumn> additionalColumns,
                                                  BoundingBox boundingBox)
        Create metadata
        Parameters:
        geometryColumns - geometry columns
        autoincrement - autoincrement ids
        additionalColumns - additional columns
        boundingBox - bounding box
        Returns:
        metadata
      • create

        public static FeatureTableMetadata create​(GeometryColumns geometryColumns,
                                                  String idColumnName,
                                                  List<FeatureColumn> additionalColumns)
        Create metadata
        Parameters:
        geometryColumns - geometry columns
        idColumnName - id column name
        additionalColumns - additional columns
        Returns:
        metadata
      • create

        public static FeatureTableMetadata create​(GeometryColumns geometryColumns,
                                                  String idColumnName,
                                                  boolean autoincrement,
                                                  List<FeatureColumn> additionalColumns)
        Create metadata
        Parameters:
        geometryColumns - geometry columns
        idColumnName - id column name
        autoincrement - autoincrement ids
        additionalColumns - additional columns
        Returns:
        metadata
      • create

        public static FeatureTableMetadata create​(GeometryColumns geometryColumns,
                                                  String idColumnName,
                                                  List<FeatureColumn> additionalColumns,
                                                  BoundingBox boundingBox)
        Create metadata
        Parameters:
        geometryColumns - geometry columns
        idColumnName - id column name
        additionalColumns - additional columns
        boundingBox - bounding box
        Returns:
        metadata
      • create

        public static FeatureTableMetadata create​(GeometryColumns geometryColumns,
                                                  String idColumnName,
                                                  boolean autoincrement,
                                                  List<FeatureColumn> additionalColumns,
                                                  BoundingBox boundingBox)
        Create metadata
        Parameters:
        geometryColumns - geometry columns
        idColumnName - id column name
        autoincrement - autoincrement ids
        additionalColumns - additional columns
        boundingBox - bounding box
        Returns:
        metadata
      • createTyped

        public static FeatureTableMetadata createTyped​(String dataType)
        Create metadata
        Parameters:
        dataType - data type
        Returns:
        metadata
      • createTyped

        public static FeatureTableMetadata createTyped​(String dataType,
                                                       boolean autoincrement)
        Create metadata
        Parameters:
        dataType - data type
        autoincrement - autoincrement ids
        Returns:
        metadata
      • createTyped

        public static FeatureTableMetadata createTyped​(String dataType,
                                                       GeometryColumns geometryColumns)
        Create metadata
        Parameters:
        dataType - data type
        geometryColumns - geometry columns
        Returns:
        metadata
      • createTyped

        public static FeatureTableMetadata createTyped​(String dataType,
                                                       GeometryColumns geometryColumns,
                                                       boolean autoincrement)
        Create metadata
        Parameters:
        dataType - data type
        geometryColumns - geometry columns
        autoincrement - autoincrement ids bounding box
        Returns:
        metadata
      • createTyped

        public static FeatureTableMetadata createTyped​(String dataType,
                                                       GeometryColumns geometryColumns,
                                                       BoundingBox boundingBox)
        Create metadata
        Parameters:
        dataType - data type
        geometryColumns - geometry columns
        boundingBox - bounding box
        Returns:
        metadata
      • createTyped

        public static FeatureTableMetadata createTyped​(String dataType,
                                                       GeometryColumns geometryColumns,
                                                       boolean autoincrement,
                                                       BoundingBox boundingBox)
        Create metadata
        Parameters:
        dataType - data type
        geometryColumns - geometry columns
        autoincrement - autoincrement ids
        boundingBox - bounding box
        Returns:
        metadata
      • createTyped

        public static FeatureTableMetadata createTyped​(String dataType,
                                                       GeometryColumns geometryColumns,
                                                       String idColumnName)
        Create metadata
        Parameters:
        dataType - data type
        geometryColumns - geometry columns
        idColumnName - id column name
        Returns:
        metadata
      • createTyped

        public static FeatureTableMetadata createTyped​(String dataType,
                                                       GeometryColumns geometryColumns,
                                                       String idColumnName,
                                                       boolean autoincrement)
        Create metadata
        Parameters:
        dataType - data type
        geometryColumns - geometry columns
        idColumnName - id column name
        autoincrement - autoincrement ids
        Returns:
        metadata
      • createTyped

        public static FeatureTableMetadata createTyped​(String dataType,
                                                       GeometryColumns geometryColumns,
                                                       String idColumnName,
                                                       BoundingBox boundingBox)
        Create metadata
        Parameters:
        dataType - data type
        geometryColumns - geometry columns
        idColumnName - id column name
        boundingBox - bounding box
        Returns:
        metadata
      • createTyped

        public static FeatureTableMetadata createTyped​(String dataType,
                                                       GeometryColumns geometryColumns,
                                                       String idColumnName,
                                                       boolean autoincrement,
                                                       BoundingBox boundingBox)
        Create metadata
        Parameters:
        dataType - data type
        geometryColumns - geometry columns
        idColumnName - id column name
        autoincrement - autoincrement ids
        boundingBox - bounding box
        Returns:
        metadata
      • createTyped

        public static FeatureTableMetadata createTyped​(String dataType,
                                                       GeometryColumns geometryColumns,
                                                       List<FeatureColumn> additionalColumns)
        Create metadata
        Parameters:
        dataType - data type
        geometryColumns - geometry columns
        additionalColumns - additional columns
        Returns:
        metadata
      • createTyped

        public static FeatureTableMetadata createTyped​(String dataType,
                                                       GeometryColumns geometryColumns,
                                                       boolean autoincrement,
                                                       List<FeatureColumn> additionalColumns)
        Create metadata
        Parameters:
        dataType - data type
        geometryColumns - geometry columns
        autoincrement - autoincrement ids
        additionalColumns - additional columns
        Returns:
        metadata
      • createTyped

        public static FeatureTableMetadata createTyped​(String dataType,
                                                       GeometryColumns geometryColumns,
                                                       List<FeatureColumn> additionalColumns,
                                                       BoundingBox boundingBox)
        Create metadata
        Parameters:
        dataType - data type
        geometryColumns - geometry columns
        additionalColumns - additional columns
        boundingBox - bounding box
        Returns:
        metadata
      • createTyped

        public static FeatureTableMetadata createTyped​(String dataType,
                                                       GeometryColumns geometryColumns,
                                                       boolean autoincrement,
                                                       List<FeatureColumn> additionalColumns,
                                                       BoundingBox boundingBox)
        Create metadata
        Parameters:
        dataType - data type
        geometryColumns - geometry columns
        autoincrement - autoincrement ids
        additionalColumns - additional columns
        boundingBox - bounding box
        Returns:
        metadata
      • createTyped

        public static FeatureTableMetadata createTyped​(String dataType,
                                                       GeometryColumns geometryColumns,
                                                       String idColumnName,
                                                       List<FeatureColumn> additionalColumns)
        Create metadata
        Parameters:
        dataType - data type
        geometryColumns - geometry columns
        idColumnName - id column name
        additionalColumns - additional columns
        Returns:
        metadata
      • createTyped

        public static FeatureTableMetadata createTyped​(String dataType,
                                                       GeometryColumns geometryColumns,
                                                       String idColumnName,
                                                       boolean autoincrement,
                                                       List<FeatureColumn> additionalColumns)
        Create metadata
        Parameters:
        dataType - data type
        geometryColumns - geometry columns
        idColumnName - id column name
        autoincrement - autoincrement ids
        additionalColumns - additional columns
        Returns:
        metadata
      • createTyped

        public static FeatureTableMetadata createTyped​(String dataType,
                                                       GeometryColumns geometryColumns,
                                                       String idColumnName,
                                                       List<FeatureColumn> additionalColumns,
                                                       BoundingBox boundingBox)
        Create metadata
        Parameters:
        dataType - data type
        geometryColumns - geometry columns
        idColumnName - id column name
        additionalColumns - additional columns
        boundingBox - bounding box
        Returns:
        metadata
      • createTyped

        public static FeatureTableMetadata createTyped​(String dataType,
                                                       GeometryColumns geometryColumns,
                                                       String idColumnName,
                                                       boolean autoincrement,
                                                       List<FeatureColumn> additionalColumns,
                                                       BoundingBox boundingBox)
        Create metadata
        Parameters:
        dataType - data type
        geometryColumns - geometry columns
        idColumnName - id column name
        autoincrement - autoincrement ids
        additionalColumns - additional columns
        boundingBox - bounding box
        Returns:
        metadata
      • getBoundingBox

        public BoundingBox getBoundingBox()
        Get the bounding box
        Returns:
        bounding box
      • setBoundingBox

        public void setBoundingBox​(BoundingBox boundingBox)
        Set the bounding box
        Parameters:
        boundingBox - bounding box
      • getGeometryColumns

        public GeometryColumns getGeometryColumns()
        Get the geometry columns
        Returns:
        geometry columns
      • setGeometryColumns

        public void setGeometryColumns​(GeometryColumns geometryColumns)
        Set the geometry columns
        Parameters:
        geometryColumns - geometry columns
      • getColumnName

        public String getColumnName()
        Get the column name
        Returns:
        column name
      • getGeometryType

        public GeometryType getGeometryType()
        Get the geometry type
        Returns:
        geometry type