Re:Re: a short introduction of simplehbase(hbase ORM)

2014-01-07 Thread zhang_xzhi
t; Map para = new HashMap(); > para.put("id", 0); > resultList = simpleHbaseClient.findObjectList(new PersonRowKey(1), > new PersonRowKey(3), Person.class, "queryByNameAndAge", > para); > log.info(resultList); > >

Re:Re: Re:Re: a short introduction of simplehbase(hbase ORM)

2014-01-07 Thread zhang_xzhi
nabble.com/a-short-introduction-of-simplehbase-hbase-ORM-tp4054488p4054492.html > Sent from the HBase User mailing list archive at Nabble.com. > -- Best Regards, Haosdent Huang If you reply to this email, your message will be added to the discussion below: http://apache-hbase.679495.n3.

Re:Re: a short introduction of simplehbase(hbase ORM)

2014-01-06 Thread zhang_xzhi
oject depends on. > If you reply to this email, your message will be added to the discussion below: http://apache-hbase.679495.n3.nabble.com/a-short-introduction-of-simplehbase-hbase-ORM-tp4054488p4054505.html To unsubscribe from a short introduction of simplehbase(hbase ORM), click here. NAML -

Re: a short introduction of simplehbase(hbase ORM)

2014-01-06 Thread Rural Hunter
+1 于 2014/1/6 12:24, Ted Yu 写道: I think you should point to Apache release - if there is no special feature from adh3u2.2 that your project depends on.

Re: Re: a short introduction of simplehbase(hbase ORM)

2014-01-05 Thread Haosong Huang
rson two = new Person(); > > > two.setId(2); > > > two.setName("dan"); > > > two.setAge(31); > > > two.setGender(Gender.FEMALE); > > > simpleHbaseClient.putObject(new PersonRowKey(2), two); > >

Re: Re: a short introduction of simplehbase(hbase ORM)

2014-01-05 Thread Ted Yu
//search by range. > > List resultList = simpleHbaseClient.findObjectList( > > new PersonRowKey(1), new PersonRowKey(3), Person.class); > > log.info(resultList); > > > > //search by dynamic query. > > Map para

Re: a short introduction of simplehbase(hbase ORM)

2014-01-05 Thread Ted Yu
of Phoenix these days. > > > If I am wrong, pls let me know, thx. > > > It seems to me Phoenix will provide a JDBC-driver against hbase. > > > But simplehbase will provide some hbase close related features. > > > > > > > > > > > >

Re: a short introduction of simplehbase(hbase ORM)

2014-01-05 Thread Renato Marroquín Mogrovejo
-- > > View this message in context: > > > http://apache-hbase.679495.n3.nabble.com/a-short-introduction-of-simplehbase-hbase-ORM-tp4054488p4054492.html > > Sent from the HBase User mailing list archive at Nabble.com. > > >

Re: a short introduction of simplehbase(hbase ORM)

2014-01-05 Thread Asaf Mesika
se. > But simplehbase will provide some hbase close related features. > > > > -- > View this message in context: > http://apache-hbase.679495.n3.nabble.com/a-short-introduction-of-simplehbase-hbase-ORM-tp4054488p4054492.html > Sent from the HBase User mailing list archive at Nabble.com. >

Re: Re:Re: a short introduction of simplehbase(hbase ORM)

2014-01-05 Thread Haosong Huang
let me know, thx. > It seems to me Phoenix will provide a JDBC-driver against hbase. > But simplehbase will provide some hbase close related features. > > > > -- > View this message in context: > http://apache-hbase.679495.n3.nabble.com/a-short-introduction-of-simplehbase-hb

Re: Re:Re: a short introduction of simplehbase(hbase ORM)

2014-01-05 Thread zhang_xzhi
.nabble.com/a-short-introduction-of-simplehbase-hbase-ORM-tp4054488p4054492.html Sent from the HBase User mailing list archive at Nabble.com.

Re:Re: a short introduction of simplehbase(hbase ORM)

2014-01-05 Thread zhang_xzhi
sultList = simpleHbaseClient.findObjectList(new PersonRowKey(1), > new PersonRowKey(3), Person.class, "queryByNameAndAge", > para); > log.info(resultList); > > //search by dynamic query. > para.put("name", "allen")

Re: a short introduction of simplehbase(hbase ORM)

2014-01-05 Thread Ted Yu
ObjectList(new PersonRowKey(1), > new PersonRowKey(3), Person.class, "queryByNameAndAge", > para); > log.info(resultList); > > //search by dynamic query. > para.put("name", "allen"); > para.put("age", 0); > resultList = simpleHbaseClient.findObjectList(new PersonRowKey(1), > new PersonRowKey(3), Person.class, "queryByNameAndAge", > para); > log.info(resultList); > > //batch delete. > simpleHbaseClient.deleteObjectList(new PersonRowKey(0), > new PersonRowKey(100)); > > } > > > > > > > > > -- > View this message in context: > http://apache-hbase.679495.n3.nabble.com/a-short-introduction-of-simplehbase-hbase-ORM-tp4054488.html > Sent from the HBase User mailing list archive at Nabble.com. >

a short introduction of simplehbase(hbase ORM)

2014-01-05 Thread zhang_xzhi
HbaseClient.findObjectList(new PersonRowKey(1), new PersonRowKey(3), Person.class, "queryByNameAndAge", para); log.info(resultList); //batch delete. simpleHbaseClient.deleteObjectList(new PersonRowKey(0), new PersonRowKey(100)); }