use of com.cinchapi.concourse.validate.Keys.Key in project concourse by cinchapi.
the class KeysTest method testParseFunctionKey.
@Test
public void testParseFunctionKey() {
String input = "age | avg";
Key key = Keys.parse(input);
Assert.assertEquals(KeyType.FUNCTION_KEY, key.type());
}
use of com.cinchapi.concourse.validate.Keys.Key in project concourse by cinchapi.
the class KeysTest method testParseIdentifierKey.
@Test
public void testParseIdentifierKey() {
String input = "$id$";
Key key = Keys.parse(input);
Assert.assertEquals(KeyType.IDENTIFIER_KEY, key.type());
}
Aggregations