public static enum TiDAGRequest.TruncateMode extends Enum<TiDAGRequest.TruncateMode>
Enum Constant and Description |
---|
IgnoreTruncation |
TruncationAsWarning |
Modifier and Type | Method and Description |
---|---|
long |
mask(long flags) |
static TiDAGRequest.TruncateMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TiDAGRequest.TruncateMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TiDAGRequest.TruncateMode IgnoreTruncation
public static final TiDAGRequest.TruncateMode TruncationAsWarning
public static TiDAGRequest.TruncateMode[] values()
for (TiDAGRequest.TruncateMode c : TiDAGRequest.TruncateMode.values()) System.out.println(c);
public static TiDAGRequest.TruncateMode 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 long mask(long flags)
Copyright © 2024 PingCAP. All rights reserved.