public class SearchArgs extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SearchArgs.Builder
Builder for
SearchArgs class. |
Modifier and Type | Method and Description |
---|---|
static SearchArgs.Builder |
builder()
Creates a new builder for
SearchArgs |
int |
getLimit()
The number of rows to return.
|
int |
getPosition()
The first-row position.
|
Map<String,String> |
getSearch()
The query search terms.
|
Map<String,Boolean> |
getSort()
The sort columns.
|
List<String> |
getView()
The view columns.
|
boolean |
isIgnoreCase()
The ignore-case flag.
|
public static SearchArgs.Builder builder()
SearchArgs
SearchArgs
public Map<String,String> getSearch()
The search terms are key/value pairs consisting of column-names and search tokens.
It's up to implementers to decide the syntax and meaning of the search term.
public List<String> getView()
The view columns are the list of columns that should be displayed. An empty list implies all columns should be displayed.
public Map<String,Boolean> getSort()
The sort columns are key/value pairs consisting of column-names and direction flags
(
public int getPosition()
0
public int getLimit()
0
which means return all rows.public boolean isIgnoreCase()
Used in conjunction with getSearch()
to specify whether case-insensitive searches should be performed.
Copyright © 2018 Apache. All rights reserved.