com.marklogic.spark.reader.file.xml.StringHandleWithUriValue Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of marklogic-spark-connector Show documentation
Show all versions of marklogic-spark-connector Show documentation
Spark 3 connector for MarkLogic
/*
* Copyright © 2024 MarkLogic Corporation. All Rights Reserved.
*/
package com.marklogic.spark.reader.file.xml;
import com.marklogic.client.io.StringHandle;
/**
* Captures a URI value based on the user-defined URI element.
*/
class StringHandleWithUriValue extends StringHandle {
private final String uriValue;
StringHandleWithUriValue(String content, String uriValue) {
super(content);
this.uriValue = uriValue;
}
String getUriValue() {
return uriValue;
}
}