public class OViewConfig extends Object
Modifier and Type | Class and Description |
---|---|
static class |
OViewConfig.OViewIndexConfig |
Modifier and Type | Field and Description |
---|---|
protected List<OViewConfig.OViewIndexConfig> |
indexes |
protected String |
name |
protected List<String> |
nodes |
protected String |
originRidField |
protected String |
query |
protected boolean |
updatable |
static String |
UPDATE_STRATEGY_BATCH
default
|
static String |
UPDATE_STRATEGY_LIVE |
protected int |
updateIntervalSeconds |
protected String |
updateStrategy |
protected List<String> |
watchClasses |
Constructor and Description |
---|
OViewConfig(String name,
String query) |
Modifier and Type | Method and Description |
---|---|
OViewConfig.OViewIndexConfig |
addIndex(String type,
String engine) |
OViewConfig |
copy() |
List<OViewConfig.OViewIndexConfig> |
getIndexes() |
String |
getName() |
List<String> |
getNodes() |
String |
getOriginRidField() |
String |
getQuery() |
int |
getUpdateIntervalSeconds() |
String |
getUpdateStrategy() |
List<String> |
getWatchClasses() |
boolean |
isUpdatable() |
void |
setName(String name) |
void |
setNodes(List<String> nodes) |
void |
setOriginRidField(String originRidField) |
void |
setQuery(String query) |
void |
setUpdatable(boolean updatable) |
void |
setUpdateIntervalSeconds(int updateIntervalSeconds) |
void |
setUpdateStrategy(String updateStrategy) |
void |
setWatchClasses(List<String> watchClasses) |
public static String UPDATE_STRATEGY_BATCH
public static String UPDATE_STRATEGY_LIVE
protected String name
protected String query
protected boolean updatable
protected List<OViewConfig.OViewIndexConfig> indexes
protected String updateStrategy
protected int updateIntervalSeconds
protected String originRidField
public OViewConfig copy()
public OViewConfig.OViewIndexConfig addIndex(String type, String engine)
public String getName()
public void setName(String name)
public String getQuery()
public void setQuery(String query)
public boolean isUpdatable()
public void setUpdatable(boolean updatable)
public List<OViewConfig.OViewIndexConfig> getIndexes()
public String getUpdateStrategy()
public void setUpdateStrategy(String updateStrategy)
public int getUpdateIntervalSeconds()
public void setUpdateIntervalSeconds(int updateIntervalSeconds)
public String getOriginRidField()
public void setOriginRidField(String originRidField)
Copyright © 2009–2020 OrientDB. All rights reserved.