|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.visualization.datasource.query.GenericColumnLookup
public class GenericColumnLookup
This class represents a generic column lookup. It maps an abstract column to its index in a table description.
| Constructor Summary | |
|---|---|
GenericColumnLookup()
Create a GenericColumnLookup (with an empty map). |
|
| Method Summary | |
|---|---|
void |
clear()
Clear all data of this GenericColumnLookup. |
boolean |
containsColumn(AbstractColumn column)
Returns whether or not this ColumnLookup contains the given column. |
int |
getColumnIndex(AbstractColumn column)
Returns the column index in the columns of a row (first is zero). |
void |
put(AbstractColumn col,
int index)
Sets the index of the given column to the given number. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GenericColumnLookup()
| Method Detail |
|---|
public void clear()
public void put(AbstractColumn col,
int index)
col - The column to set the index of.index - The index to set for the column.public int getColumnIndex(AbstractColumn column)
getColumnIndex in interface ColumnLookupcolumn - The column.
public boolean containsColumn(AbstractColumn column)
ColumnLookup
containsColumn in interface ColumnLookupcolumn - The column to check.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||