org.apache.commons.lang.NotImplementedException Java Examples

The following examples show how to use org.apache.commons.lang.NotImplementedException. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ClassPathResolvers.java    From Bats with Apache License 2.0 5 votes vote down vote up
/**
 * Parse the resolver configuration
 * @param resolverConfig
 * @return
 */
public List<Resolver> createResolvers(String resolverConfig)
{
  String[] specs = resolverConfig.split(",");
  List<Resolver> resolvers = new ArrayList<>(specs.length);
  for (String s : specs) {
    s = s.trim();
    String[] comps = s.split(":");
    if (comps.length == 0) {
      throw new IllegalArgumentException(String.format("Invalid resolver spec %s in %s", s, resolverConfig));
    }
    if (SCHEME_MANIFEST.equals(comps[0])) {
      if (comps.length < 2) {
        throw new IllegalArgumentException(String.format("Missing repository path in manifest resolver spec %s in %s", s, resolverConfig));
      }
      File baseDir = new File(comps[1]);
      resolvers.add(new ManifestResolver(baseDir));
    } else if (SCHEME_MVN.equals(comps[0])) {
      MavenResolver mvnr = new MavenResolver();
      if (comps.length > 1) {
        mvnr.userHome = comps[1];
      }
      resolvers.add(mvnr);
    } else {
      throw new NotImplementedException("Unknown resolver scheme " + comps[0]);
    }
  }
  return resolvers;
}
 
Example #2
Source File: MockHTable.java    From kylin-on-parquet-v2 with Apache License 2.0 5 votes vote down vote up
@Override
public <R extends Message> void batchCoprocessorService(Descriptors.MethodDescriptor methodDescriptor,
        Message request, byte[] startKey, byte[] endKey, R responsePrototype, Batch.Callback<R> callback)
        throws ServiceException, Throwable {
    throw new NotImplementedException();

}
 
Example #3
Source File: MockupMapContext.java    From kylin-on-parquet-v2 with Apache License 2.0 4 votes vote down vote up
public float getProgress() {
    throw new NotImplementedException();
}
 
Example #4
Source File: NonAccessibleFileObject.java    From hop with Apache License 2.0 4 votes vote down vote up
@Override
public void copyFrom( FileObject arg0, FileSelector arg1 ) throws FileSystemException {
  throw new NotImplementedException();
}
 
Example #5
Source File: LocalBinLogConnection.java    From canal-1.1.3 with Apache License 2.0 4 votes vote down vote up
@Override
public void dump(GTIDSet gtidSet, SinkFunction func) throws IOException {
    throw new NotImplementedException();
}
 
Example #6
Source File: MockupMapContext.java    From kylin-on-parquet-v2 with Apache License 2.0 4 votes vote down vote up
@Override
public int getNumReduceTasks() {
    throw new NotImplementedException();
}
 
Example #7
Source File: MockupMapContext.java    From kylin-on-parquet-v2 with Apache License 2.0 4 votes vote down vote up
@Override
public void setStatus(String msg) {
    throw new NotImplementedException();
}
 
Example #8
Source File: NonAccessibleFileObject.java    From hop with Apache License 2.0 4 votes vote down vote up
@Override
public void findFiles( FileSelector arg0, boolean arg1, @SuppressWarnings( "rawtypes" ) List arg2 ) throws FileSystemException {
  throw new NotImplementedException();
}
 
Example #9
Source File: NonAccessibleFileObject.java    From hop with Apache License 2.0 4 votes vote down vote up
@Override
public FileObject getChild( String arg0 ) throws FileSystemException {
  throw new NotImplementedException();
}
 
Example #10
Source File: NonAccessibleFileObject.java    From hop with Apache License 2.0 4 votes vote down vote up
@Override
public FileObject[] getChildren() throws FileSystemException {
  throw new NotImplementedException();
}
 
Example #11
Source File: MockupMapContext.java    From kylin-on-parquet-v2 with Apache License 2.0 4 votes vote down vote up
@Override
public Object getCurrentValue() throws IOException, InterruptedException {
    throw new NotImplementedException();
}
 
Example #12
Source File: NonAccessibleFileObject.java    From hop with Apache License 2.0 4 votes vote down vote up
@Override
public FileOperations getFileOperations() throws FileSystemException {
  throw new NotImplementedException();
}
 
Example #13
Source File: NonAccessibleFileObject.java    From hop with Apache License 2.0 4 votes vote down vote up
@Override
public FileSystem getFileSystem() {
  throw new NotImplementedException();
}
 
Example #14
Source File: MockupMapContext.java    From kylin-on-parquet-v2 with Apache License 2.0 4 votes vote down vote up
@Override
public String getUser() {
    throw new NotImplementedException();
}
 
Example #15
Source File: NonAccessibleFileObject.java    From hop with Apache License 2.0 4 votes vote down vote up
@Override
public FileObject getParent() throws FileSystemException {
  throw new NotImplementedException();
}
 
Example #16
Source File: NonAccessibleFileObject.java    From hop with Apache License 2.0 4 votes vote down vote up
@Override public String getPublicURIString() {
  throw new NotImplementedException();
}
 
Example #17
Source File: MockupMapContext.java    From kylin-on-parquet-v2 with Apache License 2.0 4 votes vote down vote up
@Override
public RawComparator<?> getSortComparator() {
    throw new NotImplementedException();
}
 
Example #18
Source File: NonAccessibleFileObject.java    From hop with Apache License 2.0 4 votes vote down vote up
@Override public boolean isExecutable() throws FileSystemException {
  throw new NotImplementedException();
}
 
Example #19
Source File: MockupMapContext.java    From kylin-on-parquet-v2 with Apache License 2.0 4 votes vote down vote up
@Override
public boolean getJobSetupCleanupNeeded() {
    throw new NotImplementedException();
}
 
Example #20
Source File: MockupMapContext.java    From kylin-on-parquet-v2 with Apache License 2.0 4 votes vote down vote up
@Override
public RawComparator<?> getGroupingComparator() {
    throw new NotImplementedException();
}
 
Example #21
Source File: NonAccessibleFileObject.java    From hop with Apache License 2.0 4 votes vote down vote up
@Override
public void moveTo( FileObject arg0 ) throws FileSystemException {
  throw new NotImplementedException();
}
 
Example #22
Source File: NonAccessibleFileObject.java    From hop with Apache License 2.0 4 votes vote down vote up
@Override
public FileObject resolveFile( String arg0 ) throws FileSystemException {
  throw new NotImplementedException();
}
 
Example #23
Source File: NonAccessibleFileObject.java    From hop with Apache License 2.0 4 votes vote down vote up
@Override
public FileObject resolveFile( String arg0, NameScope arg1 ) throws FileSystemException {
  throw new NotImplementedException();
}
 
Example #24
Source File: LocalBinLogConnection.java    From canal-1.1.3 with Apache License 2.0 4 votes vote down vote up
@Override
public void dump(GTIDSet gtidSet, MultiStageCoprocessor coprocessor) throws IOException {
    throw new NotImplementedException();
}
 
Example #25
Source File: MockupMapContext.java    From kylin-on-parquet-v2 with Apache License 2.0 4 votes vote down vote up
@Override
public Class<? extends OutputFormat<?, ?>> getOutputFormatClass() throws ClassNotFoundException {
    throw new NotImplementedException();
}
 
Example #26
Source File: NonAccessibleFileObject.java    From hop with Apache License 2.0 4 votes vote down vote up
@Override public boolean setWritable( boolean b, boolean b1 ) throws FileSystemException {
  throw new NotImplementedException();
}
 
Example #27
Source File: NonAccessibleFileObject.java    From hop with Apache License 2.0 4 votes vote down vote up
@Override public int compareTo( FileObject o ) {
  throw new NotImplementedException();
}
 
Example #28
Source File: NonAccessibleFileObject.java    From hop with Apache License 2.0 4 votes vote down vote up
@Override public Iterator<FileObject> iterator() {
  throw new NotImplementedException();
}
 
Example #29
Source File: MockHTable.java    From kylin-on-parquet-v2 with Apache License 2.0 4 votes vote down vote up
@Override
public <T extends Service, R> Map<byte[], R> coprocessorService(Class<T> service, byte[] startKey, byte[] endKey,
        Batch.Call<T, R> callable) throws ServiceException, Throwable {
    throw new NotImplementedException();

}
 
Example #30
Source File: MockupMapContext.java    From kylin-on-parquet-v2 with Apache License 2.0 4 votes vote down vote up
@Override
public Class<? extends Mapper<?, ?, ?, ?>> getMapperClass() throws ClassNotFoundException {
    throw new NotImplementedException();
}