java.io.Serializable, java.lang.Comparable<ScanFilter.ScanResult>public static enum ScanFilter.ScanResult extends java.lang.Enum<ScanFilter.ScanResult>
ScanFilter.checkKey(byte[]).| Enum Constant | Description |
|---|---|
EXCLUDE |
Indicates the key should not be included, but the scan
should continue.
|
EXCLUDE_STOP |
Indicates the key should not be included, and the scan
should stop.
|
INCLUDE |
Indicates the key should be included and the scan should continue.
|
INCLUDE_STOP |
Indicates the key should be included and the scan should stop.
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
getInclude() |
Returns true for
INCLUDE and INCLUDE_STOP. |
boolean |
getStop() |
Returns true for
INCLUDE_STOP and EXCLUDE_STOP. |
static ScanFilter.ScanResult |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static ScanFilter.ScanResult[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScanFilter.ScanResult INCLUDE
public static final ScanFilter.ScanResult EXCLUDE
public static final ScanFilter.ScanResult INCLUDE_STOP
public static final ScanFilter.ScanResult EXCLUDE_STOP
public static ScanFilter.ScanResult[] values()
for (ScanFilter.ScanResult c : ScanFilter.ScanResult.values()) System.out.println(c);
public static ScanFilter.ScanResult valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic boolean getInclude()
INCLUDE and INCLUDE_STOP.public boolean getStop()
INCLUDE_STOP and EXCLUDE_STOP.Copyright (c) 2002, 2018 Oracle and/or its affiliates. All rights reserved.