public class ThreadLocalKeyBuilderFactory extends Object implements IKeyBuilderFactory
| Constructor and Description |
|---|
ThreadLocalKeyBuilderFactory(IKeyBuilderFactory delegate) |
| Modifier and Type | Method and Description |
|---|---|
IKeyBuilder |
getKeyBuilder()
Return an instance of the configured
IKeyBuilder. |
IKeyBuilder |
getPrimaryKeyBuilder()
Return an instance of the configured
IKeyBuilder that has been
overridden to have StrengthEnum.Primary collation strength. |
public ThreadLocalKeyBuilderFactory(IKeyBuilderFactory delegate)
public IKeyBuilder getKeyBuilder()
IKeyBuilder.
Return a ThreadLocal IKeyBuilder instance configured
using the IKeyBuilderFactory specified to the ctor.
getKeyBuilder in interface IKeyBuilderFactorypublic IKeyBuilder getPrimaryKeyBuilder()
IKeyBuilder that has been
overridden to have StrengthEnum.Primary collation strength. This
may be used to form successors for Unicode prefix scans without having
the secondary sort ordering characteristics mucking things up.
Return a ThreadLocal IKeyBuilder instance configured
using the IKeyBuilderFactory specified to the ctor but with the
StrengthEnum overriden as StrengthEnum.Primary.
getPrimaryKeyBuilder in interface IKeyBuilderFactoryCopyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.