Dante Adams
Dante Adams

Reputation: 429

Areospike - how to dynamically create sets in the database using Java?

I am trying to create an API which should allow dynamic creation of a set in an areospike database.

Is there a way to achieve this?

Upvotes: 3

Views: 61

Answers (1)

pgupta
pgupta

Reputation: 5435

A record key (Key constructor in java api) uses three arguments - namespace, setname, yourkey --- whatever setname you use gets created (its a metadata on the record) - you can create maximum 1023 such set names. Once a set name is used, it cannot be easily removed from a running cluster.

Upvotes: 5

Related Questions