Uses of Class
org.apache.sis.feature.DefaultFeatureType
Packages that use DefaultFeatureType
Package
Description
Defines the structure and content of views of real-world phenomenon.
Helper classes for creating
FeatureType
instances.Filters features according their properties.
A set of helper classes for the SIS implementation.
Partial implementation of SQLMM operations as filter expressions.
Build
DefaultFeatureType
s by inspection of database schemas.Utility classes for the implementation of SIS storage classes.
DataStore
implementation for Coma Separated Values (CSV) files.Reads and writes data in GPS Exchange Format (GPX).
Data store base types for retrieving and saving geospatial data
in various storage formats.
Resources which are aggregations or concatenations of other resources.
-
Uses of DefaultFeatureType in org.apache.sis.feature
Fields in org.apache.sis.feature declared as DefaultFeatureTypeModifier and TypeFieldDescriptionprivate final DefaultFeatureType[]
CommonParentFinder.required
The features types which must be assignable to the common parent.(package private) final DefaultFeatureType
AbstractFeature.type
Information about the feature (name, characteristics, etc.).Fields in org.apache.sis.feature with type parameters of type DefaultFeatureTypeModifier and TypeFieldDescriptionprivate final Map<DefaultFeatureType,
Boolean> CommonParentFinder.allTypes
All feature types examined by this class.private final Set<DefaultFeatureType>
DefaultFeatureType.superTypes
The direct parents of this feature type, or an empty set if none.Methods in org.apache.sis.feature that return DefaultFeatureTypeModifier and TypeMethodDescriptionprivate static DefaultFeatureType
DefaultAssociationRole.deepSearch
(List<DefaultFeatureType> deferred, org.opengis.util.GenericName name) Potentially invoked aftersearch(FeatureType, Collection, GenericName, List)
for searching in associations of associations.static DefaultFeatureType
Features.findCommonParent
(Iterable<? extends DefaultFeatureType> types) Finds a feature type common to all given types, or returnsnull
if none is found.AbstractFeature.getType()
Returns information about the feature (name, characteristics, etc.).final DefaultFeatureType
DefaultAssociationRole.getValueType()
Returns the type of feature values.private static DefaultFeatureType
DefaultAssociationRole.search
(DefaultFeatureType feature, Collection<? extends AbstractIdentifiedType> properties, org.opengis.util.GenericName name, List<DefaultFeatureType> deferred) Searches in the givenfeature
for an associated feature type of the given name.(package private) DefaultFeatureType
CommonParentFinder.select()
Invoked after all feature types have been examined.(package private) static DefaultFeatureType
CommonParentFinder.select
(Iterable<? extends DefaultFeatureType> types) Finds a feature type common to all given types.Methods in org.apache.sis.feature that return types with arguments of type DefaultFeatureTypeModifier and TypeMethodDescriptionfinal Set<DefaultFeatureType>
DefaultFeatureType.getSuperTypes()
Returns the direct parents of this feature type.Methods in org.apache.sis.feature with parameters of type DefaultFeatureTypeModifier and TypeMethodDescription(package private) final void
AbstractAssociation.ensureValid
(DefaultFeatureType base, DefaultFeatureType type) Ensures that storing a feature of the given type is valid for an association expecting the given base type.boolean
DefaultFeatureType.isAssignableFrom
(DefaultFeatureType type) Returnstrue
if this type is same or a super-type of the given type.boolean
FeatureType.isAssignableFrom
(DefaultFeatureType type) boolean
NamedFeatureType.isAssignableFrom
(DefaultFeatureType type) This feature type is considered independent of all other feature types except itself.private boolean
CommonParentFinder.isAssignableFromAll
(DefaultFeatureType parent) Returnstrue
if the given parent candidate is assignable from all required types.(package private) static boolean
DefaultFeatureType.maybeAssignableFrom
(DefaultFeatureType base, DefaultFeatureType type) Returnstrue
if the given base type may be the same or a super-type of the given type, using only the name as a criterion.private static org.opengis.util.GenericName
DefaultFeatureType.ownerOf
(DefaultFeatureType type, Collection<? extends AbstractIdentifiedType> properties, AbstractIdentifiedType toSearch) Returns the name of the feature which defines the given property, ornull
if not found.(package private) final boolean
DefaultAssociationRole.resolve
(DefaultFeatureType creating, Collection<AbstractIdentifiedType> properties) If the associated feature type is a placeholder for aFeatureType
to be defined later, replaces the placeholder by the actual instance if available.private boolean
DefaultFeatureType.resolve
(DefaultFeatureType feature, Collection<? extends AbstractIdentifiedType> toUpdate, Map<FeatureType, Boolean> previous, boolean resolved) Implementation ofresolve(FeatureType, Map)
, also to be invoked from the constructor.private boolean
DefaultFeatureType.resolve
(DefaultFeatureType feature, Map<FeatureType, Boolean> previous) If an associated feature type is a placeholder for aFeatureType
to be defined later, replaces the placeholder by the actual instance if available.private void
CommonParentFinder.scanParents
(DefaultFeatureType type) Verifies if the given type has a parent which is assignable from all required types.private void
DefaultFeatureType.scanPropertiesFrom
(DefaultFeatureType source, Collection<? extends AbstractIdentifiedType> sourceProperties) Fills thebyName
map using the non-transient information in the givensource
.private static DefaultFeatureType
DefaultAssociationRole.search
(DefaultFeatureType feature, Collection<? extends AbstractIdentifiedType> properties, org.opengis.util.GenericName name, List<DefaultFeatureType> deferred) Searches in the givenfeature
for an associated feature type of the given name.private static String
DefaultAssociationRole.searchTitleProperty
(DefaultFeatureType ft) Implementation ofDefaultAssociationRole.getTitleProperty(DefaultAssociationRole)
for first search, or for non-SISFeatureAssociationRole
implementations.private void
CommonParentFinder.skipParents
(DefaultFeatureType type) Invoked when the given feature type is assignable from all required types.Method parameters in org.apache.sis.feature with type arguments of type DefaultFeatureTypeModifier and TypeMethodDescriptionprivate static DefaultFeatureType
DefaultAssociationRole.deepSearch
(List<DefaultFeatureType> deferred, org.opengis.util.GenericName name) Potentially invoked aftersearch(FeatureType, Collection, GenericName, List)
for searching in associations of associations.static DefaultFeatureType
Features.findCommonParent
(Iterable<? extends DefaultFeatureType> types) Finds a feature type common to all given types, or returnsnull
if none is found.private static DefaultFeatureType
DefaultAssociationRole.search
(DefaultFeatureType feature, Collection<? extends AbstractIdentifiedType> properties, org.opengis.util.GenericName name, List<DefaultFeatureType> deferred) Searches in the givenfeature
for an associated feature type of the given name.(package private) static DefaultFeatureType
CommonParentFinder.select
(Iterable<? extends DefaultFeatureType> types) Finds a feature type common to all given types.Constructors in org.apache.sis.feature with parameters of type DefaultFeatureTypeModifierConstructorDescriptionprotected
Creates a new feature of the given type.private
CommonParentFinder
(Map<DefaultFeatureType, Boolean> allTypes, DefaultFeatureType[] required, int count) Creates a finder for a common parent of the given types.DefaultAssociationRole
(Map<String, ?> identification, DefaultFeatureType valueType, int minimumOccurs, int maximumOccurs) Constructs an association to the given feature type.DefaultFeatureType
(Map<String, ?> identification, boolean isAbstract, DefaultFeatureType[] superTypes, AbstractIdentifiedType... properties) Constructs a feature type from the given properties.Creates a new feature of the given type.Creates a new feature of the given type.Constructor parameters in org.apache.sis.feature with type arguments of type DefaultFeatureTypeModifierConstructorDescriptionprivate
CommonParentFinder
(Map<DefaultFeatureType, Boolean> allTypes, DefaultFeatureType[] required, int count) Creates a finder for a common parent of the given types. -
Uses of DefaultFeatureType in org.apache.sis.feature.builder
Fields in org.apache.sis.feature.builder declared as DefaultFeatureTypeModifier and TypeFieldDescriptionprivate DefaultFeatureType
FeatureTypeBuilder.feature
The object created by this builder, ornull
if not yet created.private final DefaultFeatureType
AssociationRoleBuilder.type
The target feature type, ornull
if unknown.Fields in org.apache.sis.feature.builder with type parameters of type DefaultFeatureTypeModifier and TypeFieldDescriptionprivate final List<DefaultFeatureType>
FeatureTypeBuilder.superTypes
The parent of the feature to create.Methods in org.apache.sis.feature.builder that return DefaultFeatureTypeModifier and TypeMethodDescriptionFeatureTypeBuilder.build()
Builds the feature type from the information and properties specified to this builder.FeatureTypeBuilder.getSuperTypes()
Returns the direct parents of the feature type to create.Methods in org.apache.sis.feature.builder with parameters of type DefaultFeatureTypeModifier and TypeMethodDescriptionFeatureTypeBuilder.addAssociation
(DefaultFeatureType type) Creates a newFeatureAssociationRole
builder for features of the given type.private void
FeatureTypeBuilder.initialize
(DefaultFeatureType template) Initializes this builder to the value of the given type.FeatureTypeBuilder.setAll
(DefaultFeatureType template) Sets all properties of this builder to the values of the given feature type.FeatureTypeBuilder.setSuperTypes
(DefaultFeatureType... parents) Sets the parent types (or super-type) from which to inherit properties.Constructors in org.apache.sis.feature.builder with parameters of type DefaultFeatureTypeModifierConstructorDescription(package private)
AssociationRoleBuilder
(FeatureTypeBuilder owner, DefaultFeatureType type, org.opengis.util.GenericName typeName) Creates a newAssociationRole
builder for values of the given type.FeatureTypeBuilder
(DefaultFeatureType template) Creates a new builder instance using the given feature type as a template. -
Uses of DefaultFeatureType in org.apache.sis.filter
Fields in org.apache.sis.filter declared as DefaultFeatureTypeModifier and TypeFieldDescriptionprivate DefaultFeatureType
Optimization.featureType
The type of feature instances to be filtered, ornull
if unknown.Methods in org.apache.sis.filter that return DefaultFeatureTypeModifier and TypeMethodDescriptionOptimization.getFeatureType()
Returns the type of feature instances to be filtered, ornull
if unknown.Methods in org.apache.sis.filter with parameters of type DefaultFeatureTypeModifier and TypeMethodDescriptionfinal PropertyTypeBuilder
ArithmeticFunction.expectedType
(DefaultFeatureType ignored, FeatureTypeBuilder addTo) Provides the type of results computed by this expression.AssociationValue.expectedType
(DefaultFeatureType valueType, FeatureTypeBuilder addTo) Provides the expected type of values produced by this expression when a feature of the given type is evaluated.ConvertFunction.expectedType
(DefaultFeatureType valueType, FeatureTypeBuilder addTo) Provides the type of values produced by this expression when a feature of the given type is evaluated.LeafExpression.Literal.expectedType
(DefaultFeatureType ignored, FeatureTypeBuilder addTo) Provides the type of values returned byLeafExpression.Literal.apply(Object)
wrapped in anDefaultAttributeType
named "Literal".final PropertyTypeBuilder
PropertyValue.Converted.expectedType
(DefaultFeatureType valueType, FeatureTypeBuilder addTo) Provides the expected type of values produced by this expression when a feature of the given type is evaluated.PropertyValue.expectedType
(DefaultFeatureType valueType, FeatureTypeBuilder addTo) Provides the expected type of values produced by this expression when a feature of the given type is evaluated.void
Optimization.setFeatureType
(DefaultFeatureType type) Sets the type of feature instances to be filtered. -
Uses of DefaultFeatureType in org.apache.sis.internal.feature
Methods in org.apache.sis.internal.feature with parameters of type DefaultFeatureTypeModifier and TypeMethodDescriptionFeatureExpression.expectedType
(DefaultFeatureType valueType, FeatureTypeBuilder addTo) Provides the expected type of values produced by this expression when a feature of the given type is evaluated.private static Object
AttributeConvention.getCharacteristic
(DefaultFeatureType feature, AbstractIdentifiedType property, String characteristic) Fetches from the given property the default value of the characteristic of the given name.static org.opengis.referencing.crs.CoordinateReferenceSystem
AttributeConvention.getCRSCharacteristic
(DefaultFeatureType feature, AbstractIdentifiedType attribute) Returns the Coordinate Reference Systems characteristic for the given property type, ornull
if none.static Integer
AttributeConvention.getMaximalLengthCharacteristic
(DefaultFeatureType feature, AbstractIdentifiedType attribute) Returns the maximal length characteristic for the given property type, ornull
if none.static boolean
AttributeConvention.hasIdentifier
(DefaultFeatureType feature) Returnstrue
if the given feature type is non-null and has a "sis:identifier" property. -
Uses of DefaultFeatureType in org.apache.sis.internal.filter.sqlmm
Methods in org.apache.sis.internal.filter.sqlmm with parameters of type DefaultFeatureTypeModifier and TypeMethodDescriptionFunctionWithSRID.expectedType
(DefaultFeatureType valueType, FeatureTypeBuilder addTo) Provides the type of values produced by this expression when a feature of the given type is evaluated.SpatialFunction.expectedType
(DefaultFeatureType valueType, FeatureTypeBuilder addTo) Provides the type of values produced by this expression when a feature of the given type is evaluated. -
Uses of DefaultFeatureType in org.apache.sis.internal.sql.feature
Fields in org.apache.sis.internal.sql.feature declared as DefaultFeatureTypeModifier and TypeFieldDescriptionprivate final DefaultFeatureType
FeatureAdapter.featureType
The type of features to create.(package private) final DefaultFeatureType
Table.featureType
The structure of this table represented as a feature.Methods in org.apache.sis.internal.sql.feature that return DefaultFeatureTypeModifier and TypeMethodDescription(package private) final DefaultFeatureType
FeatureAnalyzer.buildFeatureType()
Completes the creation of the feature type.default DefaultFeatureType
SchemaModifier.editFeatureType
(TableReference table, FeatureTypeBuilder feature) Invoked after analysis of a table for allowing modifications of the inferred feature type.final DefaultFeatureType
Table.getType()
Returns the feature type inferred from the database structure analysis. -
Uses of DefaultFeatureType in org.apache.sis.internal.storage
Fields in org.apache.sis.internal.storage declared as DefaultFeatureTypeModifier and TypeFieldDescriptionprivate final DefaultFeatureType
MemoryFeatureSet.type
The type specified at construction time and returned byMemoryFeatureSet.getType()
.Fields in org.apache.sis.internal.storage with type parameters of type DefaultFeatureTypeModifier and TypeFieldDescriptionfinal FeatureNaming<DefaultFeatureType>
FeatureCatalogBuilder.features
The feature types created by theFeatureCatalogBuilder
.Methods in org.apache.sis.internal.storage that return DefaultFeatureTypeModifier and TypeMethodDescriptionMemoryFeatureSet.getType()
Returns the type common to all feature instances in this set.Methods in org.apache.sis.internal.storage with parameters of type DefaultFeatureTypeModifier and TypeMethodDescriptionfinal org.opengis.util.GenericName
MetadataBuilder.addFeatureType
(DefaultFeatureType type, long occurrences) Adds descriptions for the given feature.final void
FeatureCatalogBuilder.define
(DefaultFeatureType type) Adds descriptions for the given feature in both theDefaultMetadata
andFeatureNaming
instances.Constructors in org.apache.sis.internal.storage with parameters of type DefaultFeatureTypeModifierConstructorDescriptionMemoryFeatureSet
(StoreListeners parent, DefaultFeatureType type, Collection<AbstractFeature> features) Creates a new set of features stored in memory. -
Uses of DefaultFeatureType in org.apache.sis.internal.storage.csv
Fields in org.apache.sis.internal.storage.csv declared as DefaultFeatureTypeModifier and TypeFieldDescription(package private) final DefaultFeatureType
Store.featureType
Description of the columns found in the CSV file.Methods in org.apache.sis.internal.storage.csv that return DefaultFeatureTypeModifier and TypeMethodDescriptionStore.getType()
Returns the type of features in the CSV file.private DefaultFeatureType
Store.parseFeatureType
(List<String> elements) Parses the columns metadata described by the header line starting with@columns
. -
Uses of DefaultFeatureType in org.apache.sis.internal.storage.gpx
Fields in org.apache.sis.internal.storage.gpx declared as DefaultFeatureTypeModifier and TypeFieldDescription(package private) final DefaultFeatureType
Types.parent
The parent of all other feature types.(package private) final DefaultFeatureType
Types.route
Route GPX feature type.(package private) final DefaultFeatureType
Types.track
Track GPX feature type.(package private) final DefaultFeatureType
Types.trackSegment
Track segment GPX feature type.(package private) final DefaultFeatureType
Types.wayPoint
Way point GPX feature type.Fields in org.apache.sis.internal.storage.gpx with type parameters of type DefaultFeatureTypeModifier and TypeFieldDescription(package private) final FeatureNaming<DefaultFeatureType>
Types.names
Deprecated.We are not sure yet if we will keep this field.Methods in org.apache.sis.internal.storage.gpx that return DefaultFeatureTypeModifier and TypeMethodDescriptionprivate static DefaultFeatureType
Types.create
(FeatureTypeBuilder builder, Map<String, org.opengis.util.InternationalString[]> previous) Adds internationalized designation and definition information for all properties in the given type.Store.getFeatureType
(String name) Deprecated.We are not sure yet if we will keep this method.Store.getType()
Returns the base type of all GPX types.Methods in org.apache.sis.internal.storage.gpx with parameters of type DefaultFeatureTypeModifier and TypeMethodDescriptionvoid
WritableStore.updateType
(DefaultFeatureType newType) Verifies the type of feature instances in this feature set. -
Uses of DefaultFeatureType in org.apache.sis.storage
Fields in org.apache.sis.storage declared as DefaultFeatureTypeModifier and TypeFieldDescriptionprivate DefaultFeatureType
FeatureSubset.resultType
The type of features in this set.Methods in org.apache.sis.storage that return DefaultFeatureTypeModifier and TypeMethodDescription(package private) final DefaultFeatureType
FeatureQuery.expectedType
(DefaultFeatureType valueType) Returns the type of values evaluated by this query when executed on features of the given type.FeatureSet.getType()
Returns a description of properties that are common to all features in this dataset.FeatureSubset.getType()
Returns a description of properties that are common to all features in this dataset.Methods in org.apache.sis.storage with parameters of type DefaultFeatureTypeModifier and TypeMethodDescription(package private) final DefaultFeatureType
FeatureQuery.expectedType
(DefaultFeatureType valueType) Returns the type of values evaluated by this query when executed on features of the given type.void
WritableFeatureSet.updateType
(DefaultFeatureType newType) Declares or redefines the type of all feature instances in this feature set. -
Uses of DefaultFeatureType in org.apache.sis.storage.aggregate
Fields in org.apache.sis.storage.aggregate declared as DefaultFeatureTypeModifier and TypeFieldDescriptionprivate final DefaultFeatureType
ConcatenatedFeatureSet.commonType
The most specific feature type common to all feature sets in the ConcatenatedFeatureSet.sources list.private final DefaultFeatureType
JoinFeatureSet.type
The type of features included in this set.Methods in org.apache.sis.storage.aggregate that return DefaultFeatureType