Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8780227
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T19:59:18+00:00 2026-06-13T19:59:18+00:00

I am not sure why with Oracle NoSQL there is a List of String

  • 0

I am not sure why with Oracle NoSQL there is a List of String major and minor components like this code:

List<String> majorComponents = new ArrayList<String>();
List<String> minorLength = new ArrayList<String>();
List<String> minorYear = new ArrayList<String>();

majorComponents.add(“Katana”);
minorLength .add(“length”);
minorYear.add(“year”);

Key key1 = Key.createKey(majorComponents, minorLength);
Key key2 = Key.createKey(majorComponents, minorYear);

String valString = "sword";

store.putIfAbsent(key1, Value.createValue(valString.getBytes()));
store.putIfAbsent(key2, Value.createValue(valString.getBytes()));

And I am also not sure what is the difference of components to path?

Can someone explain how this major and minor paths are in a List and how does it really work.

Can I assume that for key1, when I get the full path here’s what I get:

Katana:length

For key2

Katana:year

If I put:

majorComponents.add(“Saber”);

and then do:

Key key1 = Key.createKey(majorComponents, minorLength);

What will happen? What will be the full path? I’m quite confused as to how this really works…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T19:59:19+00:00Added an answer on June 13, 2026 at 7:59 pm

    You can see the canonical path by doing a toString() on the Key after you create it. It will show you each of the components of the major and minor portions. Take a look at the oracle.kv.Key javadoc for details.

    Charles Lamb

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Not sure if this is a Perl or Oracle issue. I'm new to both.
I have a string from oracle table like this: SELECT col1 FROM MyTable; col1
I'm rather new to Oracle PL/SQL, so I'm not sure whether it's possible to
I am new to oracle so not sure about how to write stored procedure
This is in Oracle. I'm having an issue that I'm not sure can actually
I'm using Oracle SQL Developer to query an Oracle DB (not sure which version
I recently was reading about Oracle Index Organized Tables (IOTs) but am not sure
Not sure whats going on here, or what could be the integer in this
Not sure how to ask this, but i'll give it a try: I have
Not sure if this is a big deal. But wondering why when the site

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.