@Override public ConfigReposConfig getConfigRepos() { throw new NotImplementedException("Operation not supported"); }
public PipelineTemplateConfig getTemplate() { throw new NotImplementedException("Operation not supported"); }
@Override public void remove() { throw new NotImplementedException(HConstants.NOT_IMPLEMENTED); } };
/** * Performs multiple mutations atomically on a single row. Currently * {@link Put} and {@link Delete} are supported. * * @param rm object that specifies the set of mutations to perform atomically * @throws IOException */ default void mutateRow(final RowMutations rm) throws IOException { throw new NotImplementedException("Add an implementation!"); }
@Override public void restoreSnapshot(String snapshotName, boolean takeFailSafeSnapshot, boolean restoreAcl) { throw new NotImplementedException("restoreSnapshot not supported in ThriftAdmin"); }
@Override public void appendReplicationPeerTableCFs(String id, Map<TableName, List<String>> tableCfs) throws ReplicationException, IOException { throw new NotImplementedException("appendReplicationPeerTableCFs not supported in ThriftAdmin"); }
@Override public void removeReplicationPeerTableCFs(String id, Map<TableName, List<String>> tableCfs) throws ReplicationException, IOException { throw new NotImplementedException("removeReplicationPeerTableCFs not supported in ThriftAdmin"); }
@Override public void cloneTableSchema(TableName tableName, TableName newTableName, boolean preserveSplits) { throw new NotImplementedException("cloneTableSchema not supported in ThriftAdmin"); }
@Override public boolean seekToPreviousRow(Cell key) throws IOException { throw new NotImplementedException("seekToPreviousRow must not be called on a " + "non-reversed scanner"); }
@Override public boolean seekToLastRow() throws IOException { throw new NotImplementedException("seekToLastRow must not be called on a " + "non-reversed scanner"); }
@Override public Action undoAction() { // TODO implement this. This action is not being used by the StochasticLB for now // in case it uses it, we should implement this function. throw new NotImplementedException(HConstants.NOT_IMPLEMENTED); } @Override
private <T> DataConverter getConverter(T data) { if (data instanceof StageNotificationData) { return new StageConverter((StageNotificationData) data); } throw new NotImplementedException(String.format("Converter for %s not supported", data.getClass().getCanonicalName())); }
private <T> DataConverter getConverter(T data) { if (data instanceof StageNotificationData) { return new StageConverter((StageNotificationData) data); } throw new NotImplementedException(String.format("Converter for %s not supported", data.getClass().getCanonicalName())); }
@Override public void setUrl(String url) { throw new NotImplementedException("Operation not supported"); }
@Override public MutateResponse mutate(RpcController controller, MutateRequest request) throws ServiceException { throw new NotImplementedException(HConstants.NOT_IMPLEMENTED); }
@Override public CoprocessorServiceResponse execRegionServerService(RpcController controller, CoprocessorServiceRequest request) throws ServiceException { throw new NotImplementedException(HConstants.NOT_IMPLEMENTED); }
@Override public CleanupBulkLoadResponse cleanupBulkLoad(RpcController controller, CleanupBulkLoadRequest request) throws ServiceException { throw new NotImplementedException(HConstants.NOT_IMPLEMENTED); } }
private <T> DataConverter getConverter(T data) { if (data instanceof StageNotificationData) { return new StageConverter((StageNotificationData) data); } if (data instanceof AgentNotificationData) { return new AgentConverter((AgentNotificationData) data); } throw new NotImplementedException(String.format("Converter for %s not supported", data.getClass().getCanonicalName())); }
private <T> DataConverter getConverter(T data) { if (data instanceof StageNotificationData) { return new StageConverter((StageNotificationData) data); } if (data instanceof AgentNotificationData) { return new AgentConverter((AgentNotificationData) data); } throw new NotImplementedException(String.format("Converter for %s not supported", data.getClass().getCanonicalName())); }
@Test public void testConstructors() { final Throwable nested = new RuntimeException(); final String message = "Not Implemented"; final String code = "CODE"; NotImplementedException nie = new NotImplementedException(message); assertCorrect("Issue in (String)", nie, message, null, null); nie = new NotImplementedException(nested); assertCorrect("Issue in (Throwable)", nie, nested.toString(), nested, null); nie = new NotImplementedException(message, nested); assertCorrect("Issue in (String, Throwable)", nie, message, nested, null); nie = new NotImplementedException(message, code); assertCorrect("Issue in (String, String)", nie, message, null, code); nie = new NotImplementedException(nested, code); assertCorrect("Issue in (Throwable, String)", nie, nested.toString(), nested, code); nie = new NotImplementedException(message, nested, code); assertCorrect("Issue in (String, Throwable, String)", nie, message, nested, code); }