@API.Public public enum ChangeEvent extends Enum<ChangeEvent>
Enum Constant and Description |
---|
END_ARRAY
The reader reached the end of an
ARRAY . |
END_MAP
The reader reached the end of a
MAP . |
NODE
The reader arrived at a scalar field or a field that was deleted.
|
NULL
The reader arrived at a field which does not have an event or
event information is not available.
|
START_ARRAY
The reader arrived at beginning of an
ARRAY . |
START_MAP
The reader arrived at beginning of a
MAP . |
Modifier and Type | Method and Description |
---|---|
byte |
getCode()
Returns the numerical code of the enumeration.
|
static ChangeEvent |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChangeEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChangeEvent NULL
public static final ChangeEvent NODE
public static final ChangeEvent START_MAP
MAP
.public static final ChangeEvent END_MAP
MAP
.public static final ChangeEvent START_ARRAY
ARRAY
.public static final ChangeEvent END_ARRAY
ARRAY
.public static ChangeEvent[] values()
for (ChangeEvent c : ChangeEvent.values()) System.out.println(c);
public static ChangeEvent 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 byte getCode()
Copyright © 2015–2018 MapR Technologies, Inc.. All rights reserved.