|
MarkLogic Connector for Hadoop 1.1-3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<NodeOpType>
com.marklogic.mapreduce.NodeOpType
public enum NodeOpType
Type of supported node operations.
When using NodeOutputFormat, set the configuration property
mapreduce.marklogic.output.node.optype to
one of these values to control how the output node value is stored
relative to the NodePath key.
For example if the node.optype is set to "INSERT_BEFORE",
then the new node is inserted as an immediately preceding sibling of
the node addressed by the node path in the key.
For more information, see the following built-in functions in the XQuery & XSLT API Reference:
| Enum Constant Summary | |
|---|---|
INSERT_AFTER
|
|
INSERT_BEFORE
|
|
INSERT_CHILD
|
|
REPLACE
|
|
| Method Summary | |
|---|---|
abstract String |
getFunctionName()
|
String |
getQuery(String namespace)
|
static NodeOpType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static NodeOpType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final NodeOpType INSERT_BEFORE
public static final NodeOpType INSERT_AFTER
public static final NodeOpType INSERT_CHILD
public static final NodeOpType REPLACE
| Method Detail |
|---|
public static NodeOpType[] values()
for (NodeOpType c : NodeOpType.values()) System.out.println(c);
public static NodeOpType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic abstract String getFunctionName()
public String getQuery(String namespace)
|
MarkLogic Connector for Hadoop 1.1-3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
Complete online documentation for MarkLogic Server, XQuery and related components may be found at developer.marklogic.com