@Override public ConfigReposConfig getConfigRepos() { throw new NotImplementedException("Operation not supported"); }
private void assertCorrect(final String assertMessage, final NotImplementedException nie, final String message, final Throwable nested, final String code) { assertNotNull(assertMessage + ": target is null", nie); assertEquals(assertMessage + ": Message not equal", message, nie.getMessage()); assertEquals(assertMessage + ": Nested throwable not equal", nested, nie.getCause()); assertEquals(assertMessage + ": Code not equal", code, nie.getCode()); } }
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(HConstants.NOT_IMPLEMENTED); } }
@Override public List<TableDescriptor> listTableDescriptors(List<TableName> tableNames) throws IOException { throw new NotImplementedException("listTableDescriptors not supported in ThriftAdmin" + ", use getDescriptor to get descriptors one by one"); }
@Override public long getLastMajorCompactionTimestamp(TableName tableName) { throw new NotImplementedException( "getLastMajorCompactionTimestamp not supported in ThriftAdmin"); }
@Override public long getLastMajorCompactionTimestampForRegion(byte[] regionName) { throw new NotImplementedException( "getLastMajorCompactionTimestampForRegion not supported in ThriftAdmin"); }
@Override public List<SnapshotDescription> listTableSnapshots(Pattern tableNamePattern, Pattern snapshotNamePattern) { throw new NotImplementedException("listTableSnapshots not supported in ThriftAdmin"); }
@Override public Future<Void> addReplicationPeerAsync(String peerId, ReplicationPeerConfig peerConfig, boolean enabled) { throw new NotImplementedException("addReplicationPeerAsync not supported in ThriftAdmin"); }
@Override public List<ServerName> listDecommissionedRegionServers() { throw new NotImplementedException( "listDecommissionedRegionServers not supported in ThriftAdmin"); }
@Override public Future<Void> modifyColumnFamilyAsync(TableName tableName, ColumnFamilyDescriptor columnFamily) { throw new NotImplementedException("modifyColumnFamilyAsync not supported in ThriftAdmin"); }
@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