public class OAutoShardingClusterSelectionStrategy extends Object implements OClusterSelectionStrategy
Constructor and Description |
---|
OAutoShardingClusterSelectionStrategy(OClass clazz,
OIndex autoShardingIndex) |
Modifier and Type | Method and Description |
---|---|
int |
getCluster(OClass iClass,
int[] clusters,
ODocument doc) |
int |
getCluster(OClass clazz,
ODocument doc) |
String |
getName() |
public static final String NAME
public int getCluster(OClass iClass, int[] clusters, ODocument doc)
getCluster
in interface OClusterSelectionStrategy
public int getCluster(OClass clazz, ODocument doc)
getCluster
in interface OClusterSelectionStrategy
public String getName()
getName
in interface OClusterSelectionStrategy
Copyright © 2009–2020 OrientDB. All rights reserved.