|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opends.server.api.MatchingRule<OrderingMatchingRuleCfg>
org.opends.server.api.OrderingMatchingRule
org.opends.server.replication.plugin.HistoricalCsnOrderingMatchingRule
public class HistoricalCsnOrderingMatchingRule
Used to establish an order between historical information and index them.
Constructor Summary | |
---|---|
HistoricalCsnOrderingMatchingRule()
Construct a new HistoricalCsnOrderingMatchingRule object. |
Method Summary | |
---|---|
int |
compare(byte[] b1,
byte[] b2)
Compares two normalized representation of historical information. |
int |
compareValues(ByteString value1,
ByteString value2)
Compare two ByteString values containing historical information. |
java.lang.String |
getDescription()
Get the description of this Class. |
java.lang.String |
getName()
Get the name of this class. |
java.lang.String |
getOID()
Get the OID of the class. |
java.lang.String |
getSyntaxOID()
Get the Syntax OID for this class. |
void |
initializeMatchingRule(OrderingMatchingRuleCfg configuration)
Initializes this matching rule based on the information in the provided configuration entry. |
ByteString |
normalizeValue(ByteString value)
Normalize historical information representation. |
Methods inherited from class org.opends.server.api.OrderingMatchingRule |
---|
valuesMatch |
Methods inherited from class org.opends.server.api.MatchingRule |
---|
equals, finalizeMatchingRule, getNameOrOID, hashCode, isConfigurationAcceptable, isObsolete, toString, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Comparator |
---|
equals |
Constructor Detail |
---|
public HistoricalCsnOrderingMatchingRule()
Method Detail |
---|
public int compareValues(ByteString value1, ByteString value2)
compareValues
in class OrderingMatchingRule
value1
- first value to comparevalue2
- second value to compare
public void initializeMatchingRule(OrderingMatchingRuleCfg configuration)
initializeMatchingRule
in class MatchingRule<OrderingMatchingRuleCfg>
configuration
- The configuration to use to intialize this
matching rule.public java.lang.String getName()
getName
in class MatchingRule<OrderingMatchingRuleCfg>
public java.lang.String getOID()
getOID
in class MatchingRule<OrderingMatchingRuleCfg>
public java.lang.String getDescription()
getDescription
in class MatchingRule<OrderingMatchingRuleCfg>
public java.lang.String getSyntaxOID()
getSyntaxOID
in class MatchingRule<OrderingMatchingRuleCfg>
public ByteString normalizeValue(ByteString value)
normalizeValue
in class MatchingRule<OrderingMatchingRuleCfg>
value
- the value that must be normalized
public int compare(byte[] b1, byte[] b2)
b1
- first value to compareb2
- second value to compare
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |