com.google.cloud.bigtable.hbase.adapters.read
Class ReaderExpressionHelper.QuoteMetaOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- com.google.cloud.bigtable.hbase.adapters.read.ReaderExpressionHelper.QuoteMetaOutputStream
-
- All Implemented Interfaces:
- Closeable, Flushable, AutoCloseable
- Enclosing class:
- ReaderExpressionHelper
public static class ReaderExpressionHelper.QuoteMetaOutputStream extends OutputStream
An OutputStream that performs RE2:QuoteMeta as bytes are written.
-
-
Field Summary
Fields Modifier and Type Field and Description protected OutputStream
delegate
-
Constructor Summary
Constructors Constructor and Description QuoteMetaOutputStream(OutputStream delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description void
write(int unquoted)
void
writeNullCharacterBytes()
-
Methods inherited from class java.io.OutputStream
close, flush, write, write
-
-
-
-
Field Detail
-
delegate
protected final OutputStream delegate
-
-
Constructor Detail
-
QuoteMetaOutputStream
public QuoteMetaOutputStream(OutputStream delegate)
-
-
Method Detail
-
writeNullCharacterBytes
public void writeNullCharacterBytes() throws IOException
- Throws:
IOException
-
write
public void write(int unquoted) throws IOException
- Specified by:
write
in classOutputStream
- Throws:
IOException
-
-