private DFSInputStream getDFSInputStream() { if (in instanceof CryptoInputStream) { return (DFSInputStream) ((CryptoInputStream) in).getWrappedStream(); } return (DFSInputStream) in; }
private DFSInputStream getDFSInputStream() { if (in instanceof CryptoInputStream) { return (DFSInputStream) ((CryptoInputStream) in).getWrappedStream(); } return (DFSInputStream) in; }
private DFSInputStream getDFSInputStream() { if (in instanceof CryptoInputStream) { return (DFSInputStream) ((CryptoInputStream) in).getWrappedStream(); } return (DFSInputStream) in; }
public HdfsDataInputStream(CryptoInputStream in) throws IOException { super(in); Preconditions.checkArgument(in.getWrappedStream() instanceof DFSInputStream, "CryptoInputStream should wrap a DFSInputStream"); }
public HdfsDataInputStream(CryptoInputStream in) { super(in); Preconditions.checkArgument(in.getWrappedStream() instanceof DFSInputStream, "CryptoInputStream should wrap a DFSInputStream"); }
public HdfsDataInputStream(CryptoInputStream in) throws IOException { super(in); Preconditions.checkArgument(in.getWrappedStream() instanceof DFSInputStream, "CryptoInputStream should wrap a DFSInputStream"); }