/** * Check if the table has an attached co-processor represented by the name * className * * @param classNameToMatch - Class name of the co-processor * @return true of the table has a co-processor className */ @Override public boolean hasCoprocessor(String classNameToMatch) { return getCoprocessorDescriptors().stream().anyMatch(cp -> cp.getClassName() .equals(classNameToMatch)); }
/** * Check if the table has an attached co-processor represented by the name * className * * @param classNameToMatch - Class name of the co-processor * @return true of the table has a co-processor className */ @Override public boolean hasCoprocessor(String classNameToMatch) { return getCoprocessorDescriptors().stream().anyMatch(cp -> cp.getClassName() .equals(classNameToMatch)); }
/** * Check if the table has an attached co-processor represented by the name * className * * @param classNameToMatch - Class name of the co-processor * @return true of the table has a co-processor className */ @Override public boolean hasCoprocessor(String classNameToMatch) { return getCoprocessorDescriptors().stream().anyMatch(cp -> cp.getClassName() .equals(classNameToMatch)); }
@Override public Collection<CoprocessorDescriptor> getCoprocessorDescriptors() { return delegatee.getCoprocessorDescriptors(); }
@Override public Collection<CoprocessorDescriptor> getCoprocessorDescriptors() { return delegatee.getCoprocessorDescriptors(); }
@Override public Collection<CoprocessorDescriptor> getCoprocessorDescriptors() { return delegatee.getCoprocessorDescriptors(); }