Esempio n. 1
0
 @Override
 public PFunction getFunction(PTableKey key) throws FunctionNotFoundException {
   PFunction function = metaData.functions.get(key);
   if (function == null) {
     throw new FunctionNotFoundException(key.getName());
   }
   return function;
 }
Esempio n. 2
0
 @Override
 public PTableRef getTableRef(PTableKey key) throws TableNotFoundException {
   PTableRef ref = metaData.get(key);
   if (ref == null) {
     throw new TableNotFoundException(key.getName());
   }
   return ref;
 }