query(partition,
select_clause,
where,
limit)
|
|
Execute a fastbit query using ntop
- Parameters:
partition (string) - required. indicates the from clause sql style (directory of the
fastbit db partition to query)
select_clause (string) - required. indicates the columns
where (string) - required. indicates the where clause sql style
limit (int) - required. indicates the max result fetched from the db
- Returns: dictionary
- a dictionary {'columns':[],'values':[]} containing all the values
retrieved (max limit) or error otherwise
|