Hi Sefa,

you can find the ScanSpec object in
/opt/hypertable/<version>/lib/py/gen-py/hyperthrift/gen/ttypes.py.

it has a field "row_intervals" (the first parameter of the constructor)
which is a list of RowInterval objects (also defined in ttypes.py), which
has 4 members:
start_row, start_inclusive, end_row, end_inclusive.

ri = RowInterval("start", True, "end", "False)
ss = ScanSpec()
ss.row_intervals = [ ri ]

bye
Christoph

2012/9/20 sefoli <[email protected]>

> hi...
>
> Could you give me an example with row_interval in the ScanSpec? and
> How can I get this query returns the cells with scanner on python
> query : select * from [table] where row='xxx'
> scanner code : ?
>
> regards,
> Sefa
>
> --
> You received this message because you are subscribed to the Google Groups
> "Hypertable Development" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/hypertable-dev/-/qU0nFJl-WesJ.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/hypertable-dev?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Hypertable Development" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/hypertable-dev?hl=en.

Reply via email to