Enum GenerateLayerOption.QueryOption
- java.lang.Object
-
- java.lang.Enum<GenerateLayerOption.QueryOption>
-
- com.esri.arcgisruntime.tasks.geodatabase.GenerateLayerOption.QueryOption
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<GenerateLayerOption.QueryOption>
- Enclosing class:
- GenerateLayerOption
public static enum GenerateLayerOption.QueryOption extends java.lang.Enum<GenerateLayerOption.QueryOption>
Control which features for a layer or table are copied from the server when creating a geodatabase.- Since:
- 100.1.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL
All features are copied from the server when creating a geodatabase.NONE
Combines withGenerateLayerOption.isIncludeRelated()
, if false then no features are copied from the server.USE_FILTER
Combines withGenerateLayerOption.getWhereClause()
andGenerateLayerOption.isUseGeometry()
properties when copying features from the server to take offline.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GenerateLayerOption.QueryOption
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static GenerateLayerOption.QueryOption[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALL
public static final GenerateLayerOption.QueryOption ALL
All features are copied from the server when creating a geodatabase.- Since:
- 100.1.0
-
NONE
public static final GenerateLayerOption.QueryOption NONE
Combines withGenerateLayerOption.isIncludeRelated()
, if false then no features are copied from the server. IfGenerateLayerOption.isIncludeRelated()
is true then only features that are in a relationship are included. When used in conjunction with upload-only synchronization, this enables a faster upload scenario where new features are only sent to the server and none are downloaded.- Since:
- 100.1.0
- See Also:
SyncGeodatabaseParameters.SyncDirection.UPLOAD
-
USE_FILTER
public static final GenerateLayerOption.QueryOption USE_FILTER
Combines withGenerateLayerOption.getWhereClause()
andGenerateLayerOption.isUseGeometry()
properties when copying features from the server to take offline.- Since:
- 100.1.0
-
-
Method Detail
-
values
public static GenerateLayerOption.QueryOption[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (GenerateLayerOption.QueryOption c : GenerateLayerOption.QueryOption.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GenerateLayerOption.QueryOption valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-