Enum ServiceFeatureTable.FeatureRequestMode

    • Enum Constant Detail

      • MANUAL_CACHE

        public static final ServiceFeatureTable.FeatureRequestMode MANUAL_CACHE
        Data needs to be requested manually by calling populateFromServiceAsync. No data is requested automatically; for example when the table gets added to a map or the user interacts with the map. This is the default mode for tables from web map layers which use snapshot mode and also the default mode for non-spatial tables.
      • ON_INTERACTION_CACHE

        public static final ServiceFeatureTable.FeatureRequestMode ON_INTERACTION_CACHE
        Data is retrieved from the server as it is needed (when developers/users interact with the map - either after a map pan or zoom) and then this is cached in the local table for the duration of the session. Queries that only contain geometries which are within an extent that has been cached will be performed locally, otherwise they will be requested from the server. This is the default mode for tables from web map layers which specify 'on demand' mode.
      • ON_INTERACTION_NO_CACHE

        public static final ServiceFeatureTable.FeatureRequestMode ON_INTERACTION_NO_CACHE
        The data is always fetched from the server at every opportunity (map pan, zoom, select or query).
    • Method Detail

      • values

        public static ServiceFeatureTable.FeatureRequestMode[] 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 (ServiceFeatureTable.FeatureRequestMode c : ServiceFeatureTable.FeatureRequestMode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ServiceFeatureTable.FeatureRequestMode valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null