public static final class FeatureQuery.SortProperty extends Object implements AutoCloseable
SortProperty
class defines the property name and the sort order for the SortOperator
.Constructor and Description |
---|
SortProperty(DataPropertyPath propertyPath,
FeatureQuery.SortOrder order)
Constructs an instance of the
SortProperty for a given property name and a sort order. |
Modifier and Type | Method and Description |
---|---|
void |
close() |
boolean |
equals(Object other) |
protected void |
finalize() |
DataPropertyPath |
getPropertyPath()
Returns the property path.
|
FeatureQuery.SortOrder |
getSortOrder()
Returns the sort order.
|
int |
hashCode()
Returns the hash value for this sort order.
|
public SortProperty(@NotNull DataPropertyPath propertyPath, @NotNull FeatureQuery.SortOrder order)
SortProperty
for a given property name and a sort order.propertyPath
- Path to the data property.order
- Property sort order.public void close()
close
in interface AutoCloseable
@NotNull public DataPropertyPath getPropertyPath()
@NotNull public FeatureQuery.SortOrder getSortOrder()
public int hashCode()