public enum BoltRequestMessage extends Enum<BoltRequestMessage>
| Enum Constant and Description |
|---|
ACK_FAILURE |
DISCARD_ALL |
INIT |
PULL_ALL |
RESET |
RUN |
| Modifier and Type | Method and Description |
|---|---|
byte |
signature() |
static BoltRequestMessage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BoltRequestMessage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
static BoltRequestMessage |
withSignature(int signature)
Obtain a request message by signature.
|
public static final BoltRequestMessage INIT
public static final BoltRequestMessage ACK_FAILURE
public static final BoltRequestMessage RESET
public static final BoltRequestMessage RUN
public static final BoltRequestMessage DISCARD_ALL
public static final BoltRequestMessage PULL_ALL
public static BoltRequestMessage[] values()
for (BoltRequestMessage c : BoltRequestMessage.values()) System.out.println(c);
public static BoltRequestMessage 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 static BoltRequestMessage withSignature(int signature)
signature - the signature byte to look upIllegalArgumentException - if no such message existspublic byte signature()
Copyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.