GithubHelp home page GithubHelp logo

Comments (1)

klehmann avatar klehmann commented on September 15, 2024

I rewrote the project code to always use the programmatic names because that's what is returned in the summary buffer when READ_MASK_SUMMARY is used. In general it is better to use READ_MASK_SUMMARYVALUES instead, because more data fits into the 64 K summary buffer (contains values only and no duplicate column names), but for NIFFindByKeyExtended2 in 9.0.1, only READ_MASK_SUMMARY is supported.

With READ_MASK_SUMMARYVALUES is used, I first scan the columns (https://github.com/klehmann/domino-jna/blob/master/domino-jna/src/main/java/com/mindoo/domino/jna/NotesCollection.java#L1943) and read the programmatic names using the legacy Java API (haven't written the code to do this in C yet) to be able to unify both API calls.

It would be possible to always scan the columns and translate the column name argument to the right index (for READ_MASK_SUMMARYVALUES) / programmatic name (for READ_MASK_SUMMARY). I have that on my list, because I want to use the Domino JNA for a project where I am currently using column names instead of programmatic names. But I haven't had the time to work on this.

from domino-jna.

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.