accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From William Slacum <wilhelm.von.cl...@accumulo.net>
Subject Re: How do I use scan
Date Mon, 19 Aug 2013 20:44:43 GMT
You could use an indexing strategy such as a term index or a sharded index.
I know there's an example for the sharded index packaged with Accumulo.


On Mon, Aug 19, 2013 at 4:28 PM, Richard DeVita <rdevita@us.ibm.com> wrote:

> I have Accumulo version 1.4.3
>
> I wrote a java program to create an accumulo table from a csv file of call
> data records
>
> columns in csv file are:  callingPhone, calledPhone startTime crd-id
> The crd id is unique. there are multiple records for callingPhone and
> calledPhone
>
>
> Created a table with :
>
> row ID  = crd-id
> family = attribute
> qualifiers are  callingPhone,  calledPhone, startTime
> value is the  phone number or start time
>
> each line in the cdv file has three records in the accumulo table
>
> I have a java programs that reads the table.   how do I retrieve the
> records
> for a specific Phone number?
> that is all records where callingPhone = 123 456 7890
> and get all three parts ?
>
> Thank You
>
>
>
>
>
>
> --
> View this message in context:
> http://apache-accumulo.1065345.n5.nabble.com/How-do-I-use-scan-tp5152.html
> Sent from the Developers mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message