Skip to content

Update Java docs for makeUri method's handle parameter. #1245

@georgeajit

Description

@georgeajit

Version of MarkLogic Java Client API

develop

Version of MarkLogic Server

10.0

Java version

Java 8

OS and version

N/A

Input: Some code to illustrate the problem, preferably in a state that can be independently reproduced on our end

/**
     * UriMaker which generates URI for each split file
     */
    public interface UriMaker extends Splitter.UriMaker {
        /**
         * Generates URI for each split
         * @param num the count of each split
         * @param handle the handle which contains the content of each split
         * @return the generated URI of current split
         */
        String makeUri(long num, JacksonHandle handle);
    }

Actual output: What did you observe? What errors did you see? Can you attach the logs? (Java logs, MarkLogic logs)

Java docs for handle parameter can be updated to provide a hint that contents of handle can be utilized to make a meaningful document URI. For example, use first field (or column; which may be a primary key) in case of a CSV row as document URI.

Expected output: What specifically did you expect to happen?

Alternatives: What else have you tried, actual/expected?

N/A

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions