@Override
 public long propertyKeyGetForName(StatementState state, String propertyKey)
     throws PropertyKeyNotFoundException {
   try {
     return propertyKeyTokenHolder.getIdByName(propertyKey);
   } catch (TokenNotFoundException e) {
     throw new PropertyKeyNotFoundException(propertyKey, e);
   }
 }
示例#2
0
 @Override
 public int propertyKeyGetForName(String propertyKey) {
   return propertyKeyTokenHolder.getIdByName(propertyKey);
 }