A example project using Google App Engine Flex-Compat in Java with Bigtable.
-
poc.sample.allTask - Example test to execute:
- Connect in Bigtable
- Create table
- Write some rows to the table
- Get the first greeting by row key
- Clean up by disabling Table
- Delete the table
-
poc.sample.createTable - Create Table with Column Family and Column Qualifiers.
{
"row_key": "Row Key #mandatory#",
"columnFamily1": {
"columnQualifier1": "Value of Column Qualify",
"columnQualifier1": "Value of Column Qualify"
},
"columnFamily1": {
"columnQualifier1": "Value of Column Qualify",
"columnQualifier1": "Value of Column Qualify"
}
}
example:
{
"row_key": "xpto1",
"cf1": {
"c1": "k1",
"c2": "k2"
},
"cf2": {
"c1": "h1",
"c2": "h2"
}
}
- poc.sample.deleteTable
- poc.sample.findAllKeys
- poc.sample.upInsertData