Class FeatureCatalogBuilder

java.lang.Object
org.apache.sis.internal.storage.MetadataBuilder
org.apache.sis.internal.storage.FeatureCatalogBuilder

public final class FeatureCatalogBuilder extends MetadataBuilder
Helper methods for the feature metadata created by DataStore implementations. This is a convenience class for chaining addFeatureType(FeatureType, long) method calls with FeatureNaming.add(DataStore, GenericName, Object).
Since:
0.8
Version:
0.8
Author:
Martin Desruisseaux (Geomatys)
See Also:
  • Field Details

    • features

      public final FeatureNaming<DefaultFeatureType> features
      The feature types created by the FeatureCatalogBuilder. DataStore implementations can keep the reference to this FeatureNaming after the
      invalid reference
      #build(boolean)
      method has been invoked.
  • Constructor Details

    • FeatureCatalogBuilder

      public FeatureCatalogBuilder(DataStore store)
      Creates a new builder for the given data store.
      Parameters:
      store - the data store for which the metadata will be created, or null if unknown.
  • Method Details