
com.marklogic.client.expression.RdfExpr Maven / Gradle / Ivy
Show all versions of marklogic-client-api Show documentation
/*
* Copyright © 2024 MarkLogic Corporation. All Rights Reserved.
*/
package com.marklogic.client.expression;
import com.marklogic.client.type.XsStringVal;
import com.marklogic.client.type.ServerExpression;
// IMPORTANT: Do not edit. This file is generated.
/**
* Builds expressions to call functions in the rdf server library for a row
* pipeline and constructs client values with rdf.* server types.
*/
public interface RdfExpr extends RdfValue {
/**
* Returns an rdf:langString value with the given value and language tag. The rdf:langString type extends xs:string, and represents a language tagged string in RDF. This function is a built-in.
*
* Provides a client interface to the rdf:langString server function.
* @param string The lexical value. (of xs:string)
* @param lang The language. (of xs:string)
* @return a server expression with the rdf:langString server data type
*/
public ServerExpression langString(ServerExpression string, String lang);
/**
* Returns an rdf:langString value with the given value and language tag. The rdf:langString type extends xs:string, and represents a language tagged string in RDF. This function is a built-in.
*
*
*
* Provides a client interface to the rdf:langString server function.
* @param string The lexical value. (of xs:string)
* @param lang The language. (of xs:string)
* @return a server expression with the rdf:langString server data type
*/
public ServerExpression langString(ServerExpression string, ServerExpression lang);
/**
* Returns the language of an rdf:langString value. This function is a built-in.
*
*
*
* Provides a client interface to the rdf:langString-language server function.
* @param val The rdf:langString value. (of rdf:langString)
* @return a server expression with the xs:string server data type
*/
public ServerExpression langStringLanguage(ServerExpression val);
}