com.google.visualization.datasource.query
Interface ColumnLookup

All Known Implementing Classes:
DataTableColumnLookup, GenericColumnLookup

public interface ColumnLookup

A column lookup. Maps columns to their index in a column container (e.g., DateTable).

Author:
Liron L.

Method Summary
 boolean containsColumn(AbstractColumn column)
          Returns whether or not this ColumnLookup contains the given column.
 int getColumnIndex(AbstractColumn column)
          Returns the index of the given column.
 

Method Detail

getColumnIndex

int getColumnIndex(AbstractColumn column)
Returns the index of the given column.

Parameters:
column - The given AbstractColumn.
Returns:
The index of the given column.

containsColumn

boolean containsColumn(AbstractColumn column)
Returns whether or not this ColumnLookup contains the given column.

Parameters:
column - The column to check.
Returns:
True if column exists, false otherwise.


Copyright © 2009 Google. All Rights Reserved.