/** * Thread-local object for constructing keys for the lexicon. */ public LexiconKeyBuilder getLexiconKeyBuilder() { /* * FIXME We should save off a reference to this to reduce heap churn * and then use that reference in this class. */ return new LexiconKeyBuilder(getKeyBuilder()); }
/** * Thread-local object for constructing keys for the lexicon. */ public LexiconKeyBuilder getLexiconKeyBuilder() { /* * FIXME We should save off a reference to this to reduce heap churn * and then use that reference in this class. */ return new LexiconKeyBuilder(getKeyBuilder()); }
/** * Return a {@link LexiconKeyBuilder} that is setup with collation strength * PRIMARY. * * @see <a href="http://trac.blazegraph.com/ticket/974" > * Name2Addr.indexNameScan(prefix) uses scan + filter </a> */ public LexiconKeyBuilder getLexiconPrimaryKeyBuilder() { /* * FIXME We should save off a reference to this to reduce heap churn * and then use that reference in this class. */ return new LexiconKeyBuilder(getPrimaryKeyBuilder()); }
/** * Return a {@link LexiconKeyBuilder} that is setup with collation strength * PRIMARY. * * @see <a href="http://trac.blazegraph.com/ticket/974" > * Name2Addr.indexNameScan(prefix) uses scan + filter </a> */ public LexiconKeyBuilder getLexiconPrimaryKeyBuilder() { /* * FIXME We should save off a reference to this to reduce heap churn * and then use that reference in this class. */ return new LexiconKeyBuilder(getPrimaryKeyBuilder()); }
/** * {@inheritDoc} * <p> * Note: The {@link LexiconKeyBuilder} will wind up configured with the * default {@link Locale} unless that gets overridden by * {@link #getProperties()} */ protected void setUp() throws Exception { super.setUp(); final IKeyBuilderFactory keyBuilderFactory = new DefaultKeyBuilderFactory( getProperties()); final IKeyBuilder keyBuilder = keyBuilderFactory.getKeyBuilder(); fixture = new LexiconKeyBuilder(keyBuilder); }
/** * {@inheritDoc} * <p> * Note: The {@link LexiconKeyBuilder} will wind up configured with the * default {@link Locale} unless that gets overridden by * {@link #getProperties()} */ protected void setUp() throws Exception { super.setUp(); final IKeyBuilderFactory keyBuilderFactory = new DefaultKeyBuilderFactory( getProperties()); final IKeyBuilder keyBuilder = keyBuilderFactory.getKeyBuilder(); fixture = new LexiconKeyBuilder(keyBuilder); }
.newUnicodeInstance(properties); final LexiconKeyBuilder lexKeyBuilder = new LexiconKeyBuilder( keyBuilder);
.newUnicodeInstance(properties); final LexiconKeyBuilder lexKeyBuilder = new LexiconKeyBuilder( keyBuilder);
/** * {@inheritDoc} * <p> * Note: The {@link LexiconKeyBuilder} will wind up configured with the * default {@link Locale} unless that gets overridden by * {@link #getProperties()} */ protected void setUp() throws Exception { super.setUp(); final IKeyBuilderFactory keyBuilderFactory = new DefaultKeyBuilderFactory( getProperties()); final IKeyBuilder keyBuilder = keyBuilderFactory.getKeyBuilder(); fixture = new LexiconKeyBuilder(keyBuilder); }
.newUnicodeInstance(properties); final LexiconKeyBuilder lexKeyBuilder = new LexiconKeyBuilder( keyBuilder);