public final class BasicFilter
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Google Sheets API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
BasicFilter() |
Modifier and Type | Method and Description |
---|---|
BasicFilter |
clone() |
java.util.Map<java.lang.String,FilterCriteria> |
getCriteria()
The criteria for showing/hiding values per column.
|
GridRange |
getRange()
The range the filter covers.
|
java.util.List<SortSpec> |
getSortSpecs()
The sort order per column.
|
BasicFilter |
set(java.lang.String fieldName,
java.lang.Object value) |
BasicFilter |
setCriteria(java.util.Map<java.lang.String,FilterCriteria> criteria)
The criteria for showing/hiding values per column.
|
BasicFilter |
setRange(GridRange range)
The range the filter covers.
|
BasicFilter |
setSortSpecs(java.util.List<SortSpec> sortSpecs)
The sort order per column.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.util.Map<java.lang.String,FilterCriteria> getCriteria()
null
for nonepublic BasicFilter setCriteria(java.util.Map<java.lang.String,FilterCriteria> criteria)
criteria
- criteria or null
for nonepublic GridRange getRange()
null
for nonepublic BasicFilter setRange(GridRange range)
range
- range or null
for nonepublic java.util.List<SortSpec> getSortSpecs()
null
for nonepublic BasicFilter setSortSpecs(java.util.List<SortSpec> sortSpecs)
sortSpecs
- sortSpecs or null
for nonepublic BasicFilter set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public BasicFilter clone()
clone
in class com.google.api.client.json.GenericJson