hbasePut {hbase}R Documentation

Perform a batch put on an hbase table

Description

Initiates and executes a set of put operations on an hbase table. The put function operators at the cell level, rather than the row level.

Usage

hbasePut(table, row, family, column, value)

Arguments

table

an object of class hbaseTable on which to perform the put.

row

a character vector of rows into which data is being placed.

family

a character vector of column families into which data is being placed. Must be of the same length as family

column

a character vector of column qualifiers into which data is being placed. Must be of the same length as family

value

a vector of the data which is being placed into the hbase table. Will be coeherced to a character vector before being inserted to the table.

Value

none

Author(s)

Taylor Arnold, Simon Urbanek

See Also

hbaseTable

Examples


## Not run: 
  table = hbaseTable("household_demographics")
  hbasePut(table, row=c("smithjonathan","smithjonathan")
           family = c("e","e"), column = c("age", "gender"),
           value = c("29", "male"))


## End(Not run)

[Package hbase version 1.1-0 Index]