Questions tagged [timeuuid]

Use it to mark specific Cassandra questions that are involving a TimeUUID instead of a generic UUID.

TimeUUID is a random global unique identifier (UUID) of 16 bytes.

Sample hex presentation: a4a70900-24e1-11df-8924-001ff3591711

See http://en.wikipedia.org/wiki/Universally_Unique_Identifier

A TimeUUID is a basic Cassandra data type. An important property is that TimeUUIDs can be ordered by time.

50 questions
0
votes
2 answers

Implementing UUID for better performance

Requirement: we need to assign a random, long enough number/string to merchants so that they are uniquely identifiable(do not want someone to guess the identifier ). This is required because we are printing this number/string as QR code and giving…
0
votes
1 answer

Datastax Cassandra PHP Driver: "Invalid value type" exception when using timeuuid in prepared statement

I'm trying to execute prepared statement with timeuuid value and get "Invalid value type" exception. Here is the code: $builder = \Cassandra::cluster(); $cluster = $builder->withContactPoints('127.0.0.1') ->build(); $session =…
Maor Cohen
  • 413
  • 4
  • 8
0
votes
1 answer

Converting timeuuid to date-time in phpcassa

I'm trying to get date from timeuuid without calling dateOf(id) function in cqlsh. So, is there any function in phpcassa that can convert timeuuid to date ?
aacanakin
  • 2,844
  • 4
  • 25
  • 42
0
votes
1 answer

Cassandra sort by key (TimeUUID)

I'm having trouble sorting by key when calling get_range() on a column family. The keys are TimeUUID the key validation class is org.apache.cassandra.db.marshal.TimeUUIDType the partitioner is "ByteOrderedPartitioner" When I call get_range() the…
coleifer
  • 24,887
  • 6
  • 60
  • 75
0
votes
1 answer

TimeUUID in cassandra

When we use the command set [timeuuid()][utf8(name)] = utf8(value); It gives me this error no appenders could be found please initialize system log4j system properly.
Sunil Kumar
  • 1,349
  • 3
  • 14
  • 25
1 2 3
4