public class SegmentAssignmentPolicy extends LegacyAssignmentPolicy
AssignmentPolicy.Kind
forests
LOG, policy, uForests
Constructor and Description |
---|
SegmentAssignmentPolicy() |
SegmentAssignmentPolicy(LinkedHashSet<String> uForests) |
Modifier and Type | Method and Description |
---|---|
int |
getPlacementForestIndex(DocumentURI uri) |
static int |
getPlacementId(DocumentURI uri,
int size) |
static long |
rotr(BigInteger value,
int shift) |
getUriKey, normalize, rotl
getPolicyKind
public SegmentAssignmentPolicy()
public SegmentAssignmentPolicy(LinkedHashSet<String> uForests)
public static long rotr(BigInteger value, int shift)
public static int getPlacementId(DocumentURI uri, int size)
public int getPlacementForestIndex(DocumentURI uri)
getPlacementForestIndex
in class LegacyAssignmentPolicy
Copyright © 2019 MarkLogic Corporation. All Rights Reserved.
Complete online documentation for MarkLogic Server, XQuery and related components may be found at developer.marklogic.com