All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.marklogic.client.expression.RdfValue Maven / Gradle / Ivy

The newest version!
/*
 * Copyright © 2024 MarkLogic Corporation. All Rights Reserved.
 */
package com.marklogic.client.expression;

import com.marklogic.client.type.RdfLangStringSeqVal;
import com.marklogic.client.type.RdfLangStringVal;

/**
 * RdfValue takes Java values and constructs atomic values and
 * sequences of atomic values with an rdf data type
 *
 * The typed values can then be passed to expression functions
 * for execution on the server.
 */
public interface RdfValue {
    /**
     * Takes a language-specific string and constructs an rdf:langString value
     * @param string	the string in the language
     * @param lang	the identifier for the language
     * @return	a value with an rdf:langString data type
     */
    public RdfLangStringVal    langString(String string, String lang);
    /**
     * Takes any number of language-specific strings and constructs an rdf:langString sequence
     * @param langStrings	the language-specific strings
     * @return	a value sequence with an rdf:langString data type
     */
    public RdfLangStringSeqVal langStringSeq(RdfLangStringVal... langStrings);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy