Package org.gdal.ogr
Class FieldDomain
java.lang.Object
org.gdal.ogr.FieldDomain
Definition of a field domain.
A field domain is a set of constraints that apply to one or several fields.
This is a concept found in
File
Geodatabase or GeoPackage (using the schema extension)
for example.
A field domain can be:
- OGRCodedFieldDomain: an enumerated list of (code, value) tuples.
- OGRRangeFieldDomain: a range constraint (min, max).
- OGRGlobFieldDomain: a glob expression.
- Since:
- GDAL 3.3
-
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()booleanbyte[]intGet the enumeration as (code, value) pairs.intintGetGlob()byte[]doubleintdoubleGetName()byte[]intinthashCode()booleanbooleanvoidSetMergePolicy(int policy) voidSetSplitPolicy(int policy)
-
Method Details
-
delete
public void delete() -
equals
-
hashCode
-
GetName
-
GetNameAsByteArray
public byte[] GetNameAsByteArray() -
GetDescription
-
GetDescriptionAsByteArray
public byte[] GetDescriptionAsByteArray() -
GetFieldType
public int GetFieldType() -
GetFieldSubType
public int GetFieldSubType() -
GetDomainType
public int GetDomainType() -
GetSplitPolicy
public int GetSplitPolicy() -
SetSplitPolicy
public void SetSplitPolicy(int policy) -
GetMergePolicy
public int GetMergePolicy() -
SetMergePolicy
public void SetMergePolicy(int policy) -
GetEnumeration
-
GetMinAsDouble
public double GetMinAsDouble() -
GetMinAsString
-
IsMinInclusive
public boolean IsMinInclusive() -
GetMaxAsDouble
public double GetMaxAsDouble() -
GetMaxAsString
-
IsMaxInclusive
public boolean IsMaxInclusive() -
GetGlob
-
GetGlobAsByteArray
public byte[] GetGlobAsByteArray()
-