Uses of Class
org.apache.sis.feature.DefaultAttributeType
Packages that use DefaultAttributeType
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.
Base implementation shared by the main
filter
package and the SQLMM extension.DataStore
implementation for Coma Separated Values (CSV) files.Reads and writes data in GPS Exchange Format (GPX).
-
Uses of DefaultAttributeType in org.apache.sis.feature
Fields in org.apache.sis.feature declared as DefaultAttributeTypeModifier and TypeFieldDescription(package private) final DefaultAttributeType<?>[]
CharacteristicTypeMap.characterizedBy
Characteristics of another attribute type (thesource
attribute given to the constructor).private final DefaultAttributeType
<org.opengis.geometry.Envelope> EnvelopeOperation.resultType
The type of the result returned by the envelope operation.private final DefaultAttributeType
<String> StringJoinOperation.resultType
The type of the result returned by the string concatenation operation.(package private) final DefaultAttributeType
<V> AbstractAttribute.type
Information about the attribute (base Java class, domain of values, etc.).Methods in org.apache.sis.feature that return DefaultAttributeTypeModifier and TypeMethodDescriptionstatic <V> DefaultAttributeType
<V> Features.cast
(DefaultAttributeType<?> type, Class<V> valueClass) Casts the given attribute type to the given parameterized type.Returns the attribute characteristic for the given name, ornull
if none.AbstractAttribute.getType()
Returns information about the attribute (base Java class, domain of values, etc.).Methods in org.apache.sis.feature that return types with arguments of type DefaultAttributeTypeModifier and TypeMethodDescriptionDefaultAttributeType.characteristics()
Other attribute types that describes this attribute type.protected AbstractMap.EntryIterator
<String, DefaultAttributeType<?>> CharacteristicTypeMap.entryIterator()
Returns an iterator over the entries.static Optional
<DefaultAttributeType<?>> Features.toAttribute
(AbstractIdentifiedType type) Returns the given type as anAttributeType
by casting if possible, or by getting the result type of an operation.Methods in org.apache.sis.feature with parameters of type DefaultAttributeTypeModifier and TypeMethodDescriptionstatic <V> DefaultAttributeType
<V> Features.cast
(DefaultAttributeType<?> type, Class<V> valueClass) Casts the given attribute type to the given parameterized type.static <V> AbstractAttribute
<V> AbstractAttribute.create
(DefaultAttributeType<V> type) Creates a new attribute of the given type initialized to the default value.(package private) static <V> AbstractAttribute
<V> AbstractAttribute.create
(DefaultAttributeType<V> type, Object value) Creates a new attribute of the given type initialized to the given value.(package private) static <V> AbstractAttribute
<V> AttributeView.create
(AbstractFeature feature, DefaultAttributeType<V> type) Creates a new attribute which will delegate its work to the given feature.(package private) static CharacteristicTypeMap
CharacteristicTypeMap.create
(DefaultAttributeType<?> source, DefaultAttributeType<?>[] characterizedBy) Creates a new map or return an existing map for the given attribute characteristics.private static <V> Object
AbstractFeature.getDefaultValue
(DefaultAttributeType<V> attribute) Returns the default value to be returned byAbstractFeature.getPropertyValue(String)
for the given attribute type.(package private) void
Validator.validate
(DefaultAttributeType<?> type, Collection<?> values) Verifies if the given values are valid for the given attribute type.(package private) final void
CharacteristicMap.verifyAttributeType
(int index, DefaultAttributeType<?> type) Ensures that the given attribute type is the instance that we expect at the given index.private static <T> Object
AbstractFeature.verifyAttributeValue
(DefaultAttributeType<T> type, Object value) Verifies the validity of the given attribute value, and returns the value to store in the feature.Constructors in org.apache.sis.feature with parameters of type DefaultAttributeTypeModifierConstructorDescriptionprotected
Creates a new attribute of the given type.private
AttributeView
(AbstractFeature feature, DefaultAttributeType<V> type) Creates a new attribute which will delegate its work to the given feature.private
CharacteristicTypeMap
(DefaultAttributeType<?> source, DefaultAttributeType<?>[] characterizedBy) Creates a new map for the given attribute characteristics.DefaultAttributeType
(Map<String, ?> identification, Class<V> valueClass, int minimumOccurs, int maximumOccurs, V defaultValue, DefaultAttributeType<?>... characterizedBy) Constructs an attribute type from the given properties.Creates a new attribute of the given type initialized to the default value.(package private)
MultiValuedAttribute
(DefaultAttributeType<V> type, Object values) Creates a new attribute of the given type initialized to the given values.(package private)
Singleton
(AbstractFeature feature, DefaultAttributeType<V> type) Creates a new attribute which will delegate its work to the given feature.Creates a new attribute of the given type initialized to the default value.(package private)
SingletonAttribute
(DefaultAttributeType<V> type, Object value) Creates a new attribute of the given type initialized to the given value. -
Uses of DefaultAttributeType in org.apache.sis.feature.builder
Fields in org.apache.sis.feature.builder declared as DefaultAttributeTypeModifier and TypeFieldDescriptionprivate DefaultAttributeType
<V> CharacteristicTypeBuilder.characteristic
The characteristic created by this builder, ornull
if not yet created.private DefaultAttributeType
<V> AttributeTypeBuilder.property
The attribute type created by this builder, ornull
if not yet created.Methods in org.apache.sis.feature.builder that return DefaultAttributeTypeModifier and TypeMethodDescriptionAttributeTypeBuilder.build()
Builds the attribute type from the information specified to this builder.CharacteristicTypeBuilder.build()
Builds the characteristic type from the information specified to this builder.Methods in org.apache.sis.feature.builder with parameters of type DefaultAttributeTypeModifier and TypeMethodDescription<V> AttributeTypeBuilder
<V> FeatureTypeBuilder.addAttribute
(DefaultAttributeType<V> template) Creates a newAttributeType
builder initialized to the same characteristics than the given template.<C> CharacteristicTypeBuilder
<C> AttributeTypeBuilder.addCharacteristic
(DefaultAttributeType<C> template) Adds another attribute type that describes this attribute type, using an existing one as a template.Constructors in org.apache.sis.feature.builder with parameters of type DefaultAttributeTypeModifierConstructorDescription(package private)
AttributeTypeBuilder
(FeatureTypeBuilder owner, DefaultAttributeType<V> template) Creates a newAttributeType
builder initialized to the values of an existing attribute.(package private)
CharacteristicTypeBuilder
(AttributeTypeBuilder<?> owner, DefaultAttributeType<V> template) Creates a new characteristic builder initialized to the values of an existing attribute. -
Uses of DefaultAttributeType in org.apache.sis.filter
Fields in org.apache.sis.filter declared as DefaultAttributeTypeModifier and TypeFieldDescriptionprivate static final DefaultAttributeType
<Number> ArithmeticFunction.Add.TYPE
Description of results of the"Add"
expression.private static final DefaultAttributeType
<Number> ArithmeticFunction.Divide.TYPE
Description of results of the"Divide"
expression.private static final DefaultAttributeType
<Number> ArithmeticFunction.Multiply.TYPE
Description of results of the"Multiply"
expression.private static final DefaultAttributeType
<Number> ArithmeticFunction.Subtract.TYPE
Description of results of the"Subtract"
expression.Fields in org.apache.sis.filter with type parameters of type DefaultAttributeTypeModifier and TypeFieldDescriptionprivate static final WeakValueHashMap
<Class<?>, DefaultAttributeType<?>> LeafExpression.Literal.TYPES
A cache ofDefaultAttributeType
instances for literal classes.Methods in org.apache.sis.filter that return DefaultAttributeTypeModifier and TypeMethodDescription(package private) static DefaultAttributeType
<Number> ArithmeticFunction.createNumericType
(String name) Creates an attribute type for numeric values of the given name.protected DefaultAttributeType
<Number> ArithmeticFunction.Add.expectedType()
protected DefaultAttributeType
<Number> ArithmeticFunction.Divide.expectedType()
protected abstract DefaultAttributeType
<Number> ArithmeticFunction.expectedType()
Returns the type of results computed by this arithmetic function.protected DefaultAttributeType
<Number> ArithmeticFunction.Multiply.expectedType()
protected DefaultAttributeType
<Number> ArithmeticFunction.Subtract.expectedType()
private static <R> DefaultAttributeType
<R> Invoked when a new attribute type need to be created for the given standard type. -
Uses of DefaultAttributeType in org.apache.sis.internal.feature
Fields in org.apache.sis.internal.feature declared as DefaultAttributeTypeModifier and TypeFieldDescriptionstatic final DefaultAttributeType
<Instant> MovingFeatures.TIME_AS_INSTANTS
Definition of characteristics containing a list of instants, without duplicates.private static final DefaultAttributeType
<Number> MovingFeatures.TIME_AS_NUMBERS
An alternative toMovingFeatures.TIME_AS_INSTANTS
used when times cannot be mapped to calendar dates.Methods in org.apache.sis.internal.feature that return DefaultAttributeTypeModifier and TypeMethodDescriptionstatic DefaultAttributeType
<?> MovingFeatures.characteristic
(boolean hasCRS) Returns the "datetimes" characteristic to add on an attribute type. -
Uses of DefaultAttributeType in org.apache.sis.internal.filter
Methods in org.apache.sis.internal.filter that return DefaultAttributeTypeModifier and TypeMethodDescriptionprotected static <T> DefaultAttributeType
<T> Node.createType
(Class<T> type, Object name) Creates an attribute type for values of the given type and name. -
Uses of DefaultAttributeType in org.apache.sis.internal.storage.csv
Methods in org.apache.sis.internal.storage.csv with parameters of type DefaultAttributeTypeModifier and TypeMethodDescriptionprivate static AbstractIdentifiedType
Store.createProperty
(String name, Class<?> type, int minOccurrence, int maxOccurrence, DefaultAttributeType<?>[] characteristics) Creates a property type for the given name and type. -
Uses of DefaultAttributeType in org.apache.sis.internal.storage.gpx
Fields in org.apache.sis.internal.storage.gpx declared as DefaultAttributeTypeModifier and TypeFieldDescriptionprivate final DefaultAttributeType
<?> GroupAsPolylineOperation.result
The expected result type to be returned byGroupAsPolylineOperation.getResult()
.Methods in org.apache.sis.internal.storage.gpx that return DefaultAttributeTypeModifier and TypeMethodDescriptionfinal DefaultAttributeType
<?> GroupAsPolylineOperation.getResult()
Returns the expected result type.(package private) static <G> DefaultAttributeType
<? extends G> GroupAsPolylineOperation.getResult
(Geometries<G> geometries) Creates theresult
argument for the constructor.Constructors in org.apache.sis.internal.storage.gpx with parameters of type DefaultAttributeTypeModifierConstructorDescription(package private)
GroupAsPolylineOperation
(Map<String, ?> identification, String association, DefaultAttributeType<?> result) Creates a new operation which will look for geometries in the given feature association.(package private)
Result
(AbstractFeature feature, String association, DefaultAttributeType<G> result) Creates a new result for an execution on the given feature.