public enum PropertyOpType extends Enum<PropertyOpType>
When using PropertyOutputFormat
,
set the configuration property
mapreduce.marklogic.output.property.optype
to one of
these values to control how the output property value is handled by
the server.
Use SET_PROPERTY
to replace any existing properties
with the new property. Use ADD_PROPERTY
to add a
property without removing existing properties.
For more information, see the following built-in functions in the XQuery & XSLT API Reference:
Enum Constant and Description |
---|
ADD_PROPERTY |
SET_PROPERTY |
Modifier and Type | Method and Description |
---|---|
abstract String |
getFunctionName() |
String |
getQuery(org.apache.hadoop.conf.Configuration conf) |
static PropertyOpType |
valueOf(String name)
Returns the enum constant of this type with the
specified name.
|
static PropertyOpType[] |
values()
Returns an array containing the constants of
this enum type, in the order they are declared.
|
public static final PropertyOpType SET_PROPERTY
public static final PropertyOpType ADD_PROPERTY
public static PropertyOpType[] values()
for (PropertyOpType c : PropertyOpType.values()) System.out.println(c);
public static PropertyOpType valueOf(String name)
name
- the name of the enum constant to be
returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
-
if the argument is nullpublic abstract String getFunctionName()
public String getQuery(org.apache.hadoop.conf.Configuration conf)
Copyright © 2020 MarkLogic
Corporation. All Rights Reserved.
Complete online documentation for MarkLogic Server,
XQuery and related components may be found at
developer.marklogic.com