com.bigdata.rdf.spo
Class SPOSortKeyBuilder

java.lang.Object
  extended by com.bigdata.rdf.spo.SPOSortKeyBuilder
All Implemented Interfaces:
ISortKeyBuilder<ISPO>

public class SPOSortKeyBuilder
extends Object
implements ISortKeyBuilder<ISPO>

Class produces unsigned byte[] sort keys for ISPOs. This implementation is NOT thread-safe.

Version:
$Id: SPOSortKeyBuilder.java 2265 2009-10-26 12:51:06Z thompsonbry $
Author:
Bryan Thompson

Constructor Summary
SPOSortKeyBuilder(int arity)
           
 
Method Summary
 byte[] getSortKey(ISPO spo)
          Distinct iff the {s:p:o} are distinct.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SPOSortKeyBuilder

public SPOSortKeyBuilder(int arity)
Method Detail

getSortKey

public byte[] getSortKey(ISPO spo)
Distinct iff the {s:p:o} are distinct.

Specified by:
getSortKey in interface ISortKeyBuilder<ISPO>
Parameters:
spo - Some object (required).
Returns:
The unsigned byte[] sort key.


Copyright © 2006-2009 SYSTAP, LLC. All Rights Reserved.