Package io.objectbox.internal
Enum Feature
- java.lang.Object
-
- java.lang.Enum<Feature>
-
- io.objectbox.internal.Feature
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Feature>
public enum Feature extends java.lang.Enum<Feature>
Use withBoxStore.hasFeature(Feature).
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADMINHTTP server with a database browser.DEBUG_LOGCheck whether debug log can be enabled during runtime.RESULT_ARRAYInternal feature, not relevant if using ObjectBox through JNI.SYNCSync client availability.SYNC_SERVEREmbedded Sync server availability.TIME_SERIESTimeSeries support (date/date-nano companion ID and other time-series functionality).TREESTrees & GraphQL support
-
Field Summary
Fields Modifier and Type Field Description intid
-
Constructor Summary
Constructors Modifier Constructor Description privateFeature(int id)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FeaturevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Feature[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RESULT_ARRAY
public static final Feature RESULT_ARRAY
Internal feature, not relevant if using ObjectBox through JNI.
-
TIME_SERIES
public static final Feature TIME_SERIES
TimeSeries support (date/date-nano companion ID and other time-series functionality).
-
SYNC
public static final Feature SYNC
Sync client availability. Visit the ObjectBox Sync website for more details.
-
DEBUG_LOG
public static final Feature DEBUG_LOG
Check whether debug log can be enabled during runtime.
-
ADMIN
public static final Feature ADMIN
HTTP server with a database browser.
-
TREES
public static final Feature TREES
Trees & GraphQL support
-
SYNC_SERVER
public static final Feature SYNC_SERVER
Embedded Sync server availability.
-
-
Method Detail
-
values
public static Feature[] 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 (Feature c : Feature.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Feature 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
-
-