public enum SchemaAction extends Enum<SchemaAction>
JanusGraphManagement
in JanusGraphManagement.updateIndex(Index, SchemaAction)
.Enum Constant and Description |
---|
DISABLE_INDEX
Disables the index in the graph so that it is no longer used.
|
ENABLE_INDEX
Enables the index so that it can be used by the query processing engine.
|
REGISTER_INDEX
Registers the index with all instances in the graph cluster.
|
REINDEX
Re-builds the index from the graph
|
REMOVE_INDEX
Removes the index from the graph (optional operation)
|
Modifier and Type | Method and Description |
---|---|
Set<SchemaStatus> |
getApplicableStatus() |
Set<SchemaStatus> |
getFailureStatus() |
boolean |
isApplicableStatus(SchemaStatus status) |
static SchemaAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SchemaAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SchemaAction REGISTER_INDEX
public static final SchemaAction REINDEX
public static final SchemaAction ENABLE_INDEX
public static final SchemaAction DISABLE_INDEX
public static final SchemaAction REMOVE_INDEX
public static SchemaAction[] values()
for (SchemaAction c : SchemaAction.values()) System.out.println(c);
public static SchemaAction 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 Set<SchemaStatus> getApplicableStatus()
public Set<SchemaStatus> getFailureStatus()
public boolean isApplicableStatus(SchemaStatus status)
Copyright © 2012–2023. All rights reserved.