Questions tagged [super-columns]

23 questions
0
votes
1 answer

Hbase - How to add a super column family?

I am trying to create Java application that convert MYSQL database to NOSQL Hbase database . So far it read the data from mysql and insert it to hbase correctely But now i'am trying to handle relationship between tables of MYSQL, and i understand…
0
votes
1 answer

Cassandra DataModel Designing, Composite Key vs Super Column

while designing the datamodel in cassandra. I am stuck while designing the below scenario. Like One API/Webservice can have multiple parameters(input/output). I don't know the parameters count and its column name as well. How to design its…
Usman
  • 105
  • 3
  • 10
0
votes
1 answer

understanding the code for inserting column family in Cassandra keyspace?

I am reading Cassandra- The definitive guide by E.Hewitt. I am in the fourth chapter where the author describes the code for sample Hotel application. The image from the book is given here for reference. Here is the method for inserting rowkeys in…
brain storm
  • 25,842
  • 54
  • 187
  • 349
0
votes
3 answers

Does Cassandra read the whole row when limiting the number of requested results?

I am using cassandra 2.0.6. and have this table: CREATE TABLE t ( id text, idx bigint, data bigint, PRIMARY KEY (id, idx) ) So say I got these rows: id / idx / data x 1 data1 x 2 data2 x 3 data3 .... goes on…
kostas.kougios
  • 913
  • 10
  • 21
0
votes
1 answer

I can't create a super column with hector in java

I am quite new to cassandra and hector & trying to create a super column. I did already a lot of research, but somehow, nothing works so far. During my research on stackoverflow I found this question here, which seemed helpful for me. So I tried to…
Waylander
  • 1,125
  • 2
  • 12
  • 31
0
votes
1 answer

Cassandra Hector - Query all super column names & all sub columns (name & value)

I have a super column family and everything works well when I query like this: private static Cluster cluster = HFactory.getOrCreateCluster("cluster1", "localhost:9160"); private static Keyspace keyspace =…
0
votes
1 answer

Cannot delete supercolumn with cassandra-cli

[default@keyspace] get fv['user:/file.txt']; => (super_column=1365647977415, (column=6363, value=0000000000000001, timestamp=1368238637628082) (column=6c6d64, value=0000013f79344eb2, timestamp=1368238637628081) (column=7362,…
odiszapc
  • 3,916
  • 2
  • 24
  • 42
0
votes
1 answer

How would you support super-columns in the libQtCassandra library?

I wrote libQtCassandra and the current version does not support super-columns. One reason for not adding that support has been that it breaks the scheme used by the library to give users a way to use the array operator ([]) to access and write the…
Alexis Wilke
  • 15,168
  • 8
  • 60
  • 116
1
2