Git Product home page Git Product logo

Comments (4)

BrianNichols avatar BrianNichols commented on June 17, 2024

The key's set name argument is a string. You are passing Account.class.

Was the LDT map already created?
Was it created in the "userGroupMap" bin?

from aerospike-client-java.

wongyum avatar wongyum commented on June 17, 2024

Good morning,

The LDT map is not created yet as the new account (e.g.: User A) is registered, and the map is scanned once the user login. However, this map store (system/other user request) for such user (User A) and it maybe clear if user read all of the msg (Stored in LDT map).

Now we have some workaround such as put a DUMMY record to the LDT Map/List bin, or get the record to check if the bin existed. However, all of the above solution have tradeoff on storage/performance. And some of the java developers used to check the map/set/list by compare to null value or get collection size. Thus i would like to know if there is any solution. Thanks

from aerospike-client-java.

BrianNichols avatar BrianNichols commented on June 17, 2024

The LDT map will not be created unless items are added to it. Trying to obtain map configuration will not work for a non-existant map.

from aerospike-client-java.

wongyum avatar wongyum commented on June 17, 2024

It's OK now, Thanks for your help. :)

from aerospike-client-java.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.