Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Lucene-hadoop Wiki" for 
change notification.

The following page has been changed by BryanDuxbury:
http://wiki.apache.org/lucene-hadoop/Hbase/ThriftApi

------------------------------------------------------------------------------
  == Thrift API ==
  
  This page discusses the effort of creating a Thrift client API. The reasoning 
behind creating a Thrift-based API is that Thrift is both cross-platform and 
more lightweight than REST for many operations.
+ 
+ == Data Type Spec ==
+ This section contains the definitions of Thrift data types needed for 
communication.
+ 
+ ==== columnDescriptor ====
+ 
+ Used by getColumnDescriptors. How much information should we expose here?
+ 
+ {{{
+ struct columnDescriptor {
+   1:string name,
+   2:int32 maxVersions,
+   3:bool compression
+ }
+ }}}
  
  == Method Spec ==
  
@@ -13, +28 @@

  ==== Get Table Names ====
  Returns a list of table names.
  
+ {{{
+ list<string> getTableNames()
+ }}}
+ 
  ==== Get Column Descriptors ====
  Return a list of column descriptors for a given table.
  
+ {{{
+ list<columnDescriptor> getColumnDescriptors(string tableName)
+ }}}
+ 
  ==== Get Table Regions ====
  Return a list of the region and host tuples that make up a table.
+ 
+ {{{
+ list<regionDescriptor> getTableRegions(string tableName)
+ }}}
  
  === Row methods ===
  

Reply via email to