Package com.arangodb.model
Class LogOptions
java.lang.Object
com.arangodb.model.LogOptions
- Author:
- Mark Vollmary
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
PROPERTY_UPTO
- See Also:
-
PROPERTY_LEVEL
- See Also:
-
PROPERTY_START
- See Also:
-
PROPERTY_SIZE
- See Also:
-
PROPERTY_OFFSET
- See Also:
-
PROPERTY_SEARCH
- See Also:
-
PROPERTY_SORT
- See Also:
-
-
Constructor Details
-
LogOptions
public LogOptions()
-
-
Method Details
-
getUpto
-
upto
- Parameters:
upto
- Returns all log entries up to log level upto- Returns:
- options
-
getLevel
-
level
- Parameters:
level
- Returns all log entries of log level level. Note that the query parameters upto and level are mutually exclusive- Returns:
- options
-
getStart
-
start
- Parameters:
start
- Returns all log entries such that their log entry identifier (lid value) is greater or equal to start- Returns:
- options
-
getSize
-
size
- Parameters:
size
- Restricts the result to at most size log entries- Returns:
- options
-
getOffset
-
offset
- Parameters:
offset
- Starts to return log entries skipping the first offset log entries. offset and size can be used for pagination- Returns:
- options
-
getSearch
-
search
- Parameters:
search
- Only return the log entries containing the text specified in search- Returns:
- options
-
getSort
-
sort
- Parameters:
sort
- Sort the log entries either ascending (if sort is asc) or descending (if sort is desc) according to their lid values. Note that the lid imposes a chronological order. The default value is asc- Returns:
- options
-