@Test public void testCaseInsensitiveValuesNotLost() { Text locator = Text.wrap("major"); record = getRecord(locator); record.append(getRevision(locator, Value.wrap(Convert.javaToThrift("Business Management")), PrimaryKey.wrap(1))); record.append(getRevision(locator, Value.wrap(Convert.javaToThrift("business management")), PrimaryKey.wrap(2))); IndexRecord index = (IndexRecord) record; Map<PrimaryKey, Set<Value>> data = index.explore(Operator.REGEX, Value.wrap(Convert.javaToThrift(".*business.*"))); Assert.assertFalse(data.isEmpty()); }
public Map<PrimaryKey, Set<Value>> explore(long timestamp, Operator operator, Value... values) { return explore(true, timestamp, operator, values); }
IndexRecord extends BrowsableRecord<Text, Value, PrimaryKey> { public Map<PrimaryKey, Set<Value>> explore(long timestamp, Operator operator, Value... values) { return explore(true, timestamp, operator, values); } }
IndexRecord extends BrowsableRecord<Text, Value, PrimaryKey> { public Map<PrimaryKey, Set<Value>> explore(long timestamp, Operator operator, Value... values) { return explore(true, timestamp, operator, values); } @DoNotInvoke @PackagePrivate  IndexRecord(Text locator, @Nullable Value key); }
IndexRecord extends BrowsableRecord<Text, Value, PrimaryKey> { public Map<PrimaryKey, Set<Value>> explore(long timestamp, Operator operator, Value... values) { return explore(true, timestamp, operator, values); } @DoNotInvoke @PackagePrivate  IndexRecord(Text locator, @Nullable Value key); static IndexRecord create(Text locator); static IndexRecord createPartial(Text locator, Value key); Map<PrimaryKey, Set<Value>> explore(long timestamp,
            Operator operator, Value... values); Map<PrimaryKey, Set<Value>> explore(Operator operator,
            Value... values); Set<PrimaryKey> find(long timestamp, Operator operator,
            Value... values); Set<PrimaryKey> find(Operator operator, Value... values); Set<Value> gather(PrimaryKey record); Set<Value> gather(PrimaryKey record, long timestamp); }
IndexRecord extends BrowsableRecord<Text, Value, PrimaryKey> { public Map<PrimaryKey, Set<Value>> explore(long timestamp, Operator operator, Value... values) { return explore(true, timestamp, operator, values); } @DoNotInvoke @PackagePrivate  IndexRecord(Text locator, @Nullable Value key); static IndexRecord create(Text locator); static IndexRecord createPartial(Text locator, Value key); Map<PrimaryKey, Set<Value>> explore(long timestamp,
            Operator operator, Value... values); Map<PrimaryKey, Set<Value>> explore(Operator operator,
            Value... values); Set<PrimaryKey> find(long timestamp, Operator operator,
            Value... values); Set<PrimaryKey> find(Operator operator, Value... values); Set<Value> gather(PrimaryKey record); Set<Value> gather(PrimaryKey record, long timestamp);  }