Package org.apache.sis.feature
Class EnvelopeOperation.Result
java.lang.Object
org.apache.sis.feature.Property
org.apache.sis.feature.Field<org.opengis.geometry.Envelope>
org.apache.sis.feature.AbstractAttribute<org.opengis.geometry.Envelope>
org.apache.sis.feature.EnvelopeOperation.Result
- All Implemented Interfaces:
Serializable
- Enclosing class:
EnvelopeOperation
private final class EnvelopeOperation.Result
extends AbstractAttribute<org.opengis.geometry.Envelope>
The attributes that contains the result of union of all envelope extracted from other attributes.
Value is calculated each time it is accessed.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final AbstractFeature
The feature specified to theStringJoinOperation.apply(Feature, ParameterValueGroup)
method.private static final long
For cross-version compatibility.Fields inherited from class org.apache.sis.feature.AbstractAttribute
type
-
Constructor Summary
ConstructorsConstructorDescriptionResult
(AbstractFeature feature) Creates a new attribute for the given feature. -
Method Summary
Modifier and TypeMethodDescriptionorg.opengis.geometry.Envelope
getValue()
Computes an envelope which is the union of envelope of geometry values of all properties specified to theEnvelopeOperation
constructor.void
setValue
(org.opengis.geometry.Envelope value) Unconditionally throws anUnsupportedOperationException
.Methods inherited from class org.apache.sis.feature.AbstractAttribute
characteristics, characteristicsReadOnly, clone, create, create, getName, getType, getValues, quality, setValues, toString
Methods inherited from class org.apache.sis.feature.Field
isDeprecated, isSingleton
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDFor cross-version compatibility.- See Also:
-
feature
The feature specified to theStringJoinOperation.apply(Feature, ParameterValueGroup)
method.
-
-
Constructor Details
-
Result
Result(AbstractFeature feature) Creates a new attribute for the given feature.
-
-
Method Details
-
getValue
Computes an envelope which is the union of envelope of geometry values of all properties specified to theEnvelopeOperation
constructor.- Specified by:
getValue
in classAbstractAttribute<org.opengis.geometry.Envelope>
- Returns:
- the union of envelopes of all geometries in the attribute specified to the constructor,
or
null
if none. - Throws:
FeatureOperationException
- if the envelope cannot be computed.- See Also:
-
setValue
public void setValue(org.opengis.geometry.Envelope value) Unconditionally throws anUnsupportedOperationException
.- Specified by:
setValue
in classAbstractAttribute<org.opengis.geometry.Envelope>
- Parameters:
value
- the new value, ornull
for removing all values from this attribute.- See Also:
-