Package org.greenrobot.greendao.async
Enum AsyncOperation.OperationType
- java.lang.Object
-
- java.lang.Enum<AsyncOperation.OperationType>
-
- org.greenrobot.greendao.async.AsyncOperation.OperationType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<AsyncOperation.OperationType>
- Enclosing class:
- AsyncOperation
public static enum AsyncOperation.OperationType extends java.lang.Enum<AsyncOperation.OperationType>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AsyncOperation.OperationTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static AsyncOperation.OperationType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Insert
public static final AsyncOperation.OperationType Insert
-
InsertInTxIterable
public static final AsyncOperation.OperationType InsertInTxIterable
-
InsertInTxArray
public static final AsyncOperation.OperationType InsertInTxArray
-
InsertOrReplace
public static final AsyncOperation.OperationType InsertOrReplace
-
InsertOrReplaceInTxIterable
public static final AsyncOperation.OperationType InsertOrReplaceInTxIterable
-
InsertOrReplaceInTxArray
public static final AsyncOperation.OperationType InsertOrReplaceInTxArray
-
Update
public static final AsyncOperation.OperationType Update
-
UpdateInTxIterable
public static final AsyncOperation.OperationType UpdateInTxIterable
-
UpdateInTxArray
public static final AsyncOperation.OperationType UpdateInTxArray
-
Delete
public static final AsyncOperation.OperationType Delete
-
DeleteInTxIterable
public static final AsyncOperation.OperationType DeleteInTxIterable
-
DeleteInTxArray
public static final AsyncOperation.OperationType DeleteInTxArray
-
DeleteByKey
public static final AsyncOperation.OperationType DeleteByKey
-
DeleteAll
public static final AsyncOperation.OperationType DeleteAll
-
TransactionRunnable
public static final AsyncOperation.OperationType TransactionRunnable
-
TransactionCallable
public static final AsyncOperation.OperationType TransactionCallable
-
QueryList
public static final AsyncOperation.OperationType QueryList
-
QueryUnique
public static final AsyncOperation.OperationType QueryUnique
-
Load
public static final AsyncOperation.OperationType Load
-
LoadAll
public static final AsyncOperation.OperationType LoadAll
-
Count
public static final AsyncOperation.OperationType Count
-
Refresh
public static final AsyncOperation.OperationType Refresh
-
-
Method Detail
-
values
public static AsyncOperation.OperationType[] 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 (AsyncOperation.OperationType c : AsyncOperation.OperationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AsyncOperation.OperationType 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
-
-