@Override public long length() throws IOException { return delegate.length(); }
@Override public long length() throws IOException { return delegate.length(); }
public long length() throws IOException { return main.length(); } }
public long length() throws IOException { return indexOutput.length(); } }
public long length() throws IOException { return main.length(); } }
@Override public long length() throws IOException { return this.delegate.length(); }
public long length() throws IOException { return localCacheIndexOutput.length(); }
public long length() throws IOException { return actualOutput().length(); }
/** * Creates a new index output stream and wraps the given * <code>output</code>. Bytes will always be written at the end of the * <code>output</code>. * * @param output the lucene index output. * @throws IOException if an error occurs while seeking to the end of the * index <code>output</code>. */ public IndexOutputStream(IndexOutput output) throws IOException { this.out = output; this.out.seek(output.length()); }
/** * Creates a new index output stream and wraps the given * <code>output</code>. Bytes will always be written at the end of the * <code>output</code>. * * @param output the lucene index output. * @throws IOException if an error occurs while seeking to the end of the * index <code>output</code>. */ public IndexOutputStream(IndexOutput output) throws IOException { this.out = output; this.out.seek(output.length()); }
/** * Creates a new index output stream and wraps the given * <code>output</code>. Bytes will always be written at the end of the * <code>output</code>. * * @param output the lucene index output. * @throws IOException if an error occurs while seeking to the end of the * index <code>output</code>. */ public IndexOutputStream(IndexOutput output) throws IOException { this.out = output; this.out.seek(output.length()); }
assert finalLength == os.length();
assert finalLength == os.length();