Package org.apache.sis.feature
Class EnvelopeOperation.Result
java.lang.Object
org.apache.sis.feature.Property
org.apache.sis.feature.Field<V>
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 AbstractFeatureThe feature specified to theStringJoinOperation.apply(Feature, ParameterValueGroup)method.private static final longFor 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.EnvelopegetValue()Computes an envelope which is the union of envelope of geometry values of all properties specified to theEnvelopeOperationconstructor.voidsetValue(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, toStringMethods 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 theEnvelopeOperationconstructor.- Specified by:
getValuein classAbstractAttribute<org.opengis.geometry.Envelope>- Returns:
- the union of envelopes of all geometries in the attribute specified to the constructor,
or
nullif 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:
setValuein classAbstractAttribute<org.opengis.geometry.Envelope>- Parameters:
value- the new value, ornullfor removing all values from this attribute.- See Also:
-