public class CellQuery extends Query
Query.CategoryFilter, Query.CustomParameter, Query.ResultFormat
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MAXIMUM_COL
String property for maximum column number.
|
static java.lang.String |
MAXIMUM_ROW
String property for maximum row number.
|
static java.lang.String |
MINIMUM_COL
String property for minimum column number.
|
static java.lang.String |
MINIMUM_ROW
String property for minimum row number.
|
static java.lang.String |
RANGE
String property for a cell range.
|
static java.lang.String |
RETURN_EMPTY
String porperty for flag to return empty cells.
|
Constructor and Description |
---|
CellQuery(java.net.URL feedUrl)
Constructs an object representing a to-be-executed query on cells.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getMaximumCol()
Gets the largest column number possible in the cells to be returned.
|
java.lang.Integer |
getMaximumRow()
Gets the largest row number possible in the cells to be returned.
|
java.lang.Integer |
getMinimumCol()
Gets the smallest column number possible in the cells to be returned.
|
java.lang.Integer |
getMinimumRow()
Gets the smallest row number possible in the cells to be returned.
|
java.lang.String |
getRange()
Gets the range of the cells to be returned.
|
boolean |
getReturnEmpty()
Gets whether the empty cells should be returned.
|
void |
setMaximumCol(java.lang.Integer value)
Sets the maximum column number of cells that are returned.
|
void |
setMaximumRow(java.lang.Integer value)
Sets the maximum row number of cells that are returned.
|
void |
setMinimumCol(java.lang.Integer value)
Sets the minimum column number of cells that are returned.
|
void |
setMinimumRow(java.lang.Integer value)
Sets the minimum row number of cells that are returned.
|
void |
setRange(java.lang.String value)
Sets the range for the cells to return.
|
void |
setReturnEmpty(boolean value)
Sets whether to return empty cells.
|
addCategoryFilter, addCustomParameter, appendQueryParameter, getAuthor, getCategoryFilters, getCustomParameters, getCustomParameters, getFeedUrl, getFields, getFullTextQuery, getIntegerCustomParameter, getMaxResults, getPublishedMax, getPublishedMin, getQueryUri, getResultFormat, getStartIndex, getStringCustomParameter, getUpdatedMax, getUpdatedMin, getUrl, isStrict, isValidState, setAuthor, setFields, setFullTextQuery, setIntegerCustomParameter, setMaxResults, setPublishedMax, setPublishedMin, setResultFormat, setStartIndex, setStrict, setStringCustomParameter, setUpdatedMax, setUpdatedMin
public static final java.lang.String MINIMUM_ROW
public static final java.lang.String MAXIMUM_ROW
public static final java.lang.String MINIMUM_COL
public static final java.lang.String MAXIMUM_COL
public static final java.lang.String RANGE
public static final java.lang.String RETURN_EMPTY
public CellQuery(java.net.URL feedUrl)
feedUrl
- the URI of the particular worksheet's cells feedpublic void setMinimumRow(java.lang.Integer value)
value
- the row number, or null if there is no minimumpublic void setMaximumRow(java.lang.Integer value)
value
- the row number, or null if there is no maximumpublic void setMinimumCol(java.lang.Integer value)
value
- the column numer, or null if there is no minimumpublic void setMaximumCol(java.lang.Integer value)
value
- the column number, of null if there is no maximumpublic void setRange(java.lang.String value)
value
- the range in A1 or R1C1 for the cells to be returned.public void setReturnEmpty(boolean value)
value
- if true, then empty cells will be returned in the feed.public java.lang.Integer getMinimumRow()
public java.lang.Integer getMaximumRow()
public java.lang.Integer getMinimumCol()
public java.lang.Integer getMaximumCol()
public java.lang.String getRange()
public boolean getReturnEmpty()