public static class Tuple.DefaultTupleFormatter extends java.lang.Object implements Tuple.TupleFormatter
Timestamp.toString()streambase.tuple-charset system property)Tuple.NULL_STRING
 A shared instance is available at Tuple.getTupleFormatter().
| Constructor and Description | 
|---|
DefaultTupleFormatter()
See the class documentation for  
Tuple.DefaultTupleFormatter for details | 
| Modifier and Type | Method and Description | 
|---|---|
java.lang.CharSequence | 
formatBlob(ByteArrayView blob)
Return a string representation of the given StreamBase blob value 
 | 
java.lang.CharSequence | 
formatBool(java.lang.Boolean b)
Return a string representation of the given StreamBase boolean value 
 | 
java.lang.CharSequence | 
formatDouble(java.lang.Double d)
Return a string representation of the given StreamBase double value 
 | 
java.lang.CharSequence | 
formatFunction(Function f)
Return a string representation of the given StreamBase function 
 | 
java.lang.CharSequence | 
formatInt(java.lang.Integer i)
Return a string representation of the given StreamBase integer value 
 | 
java.lang.CharSequence | 
formatList(CompleteDataType elementType,
          java.util.List<?> l)
Return a string representation of the given StreamBase list 
 | 
java.lang.CharSequence | 
formatLong(java.lang.Long l)
Return a string representation of the given StreamBase long value 
 | 
java.lang.CharSequence | 
formatString(java.lang.String s)
Return a string representation of the given StreamBase string value 
 | 
java.lang.CharSequence | 
formatTimestamp(Timestamp t)
Return a string representation of the given StreamBase timestamp value 
 | 
java.lang.CharSequence | 
formatTuple(Tuple t)
Return a string representation of the given StreamBase Tuple value 
 | 
protected java.lang.String | 
getNullString()
This value will be returned by this formatter when any null field value
 is asked to be formatted. 
 | 
public DefaultTupleFormatter()
Tuple.DefaultTupleFormatter for detailsprotected java.lang.String getNullString()
Tuple.NULL_STRINGpublic java.lang.CharSequence formatBlob(ByteArrayView blob)
Tuple.TupleFormatterformatBlob in interface Tuple.TupleFormatterblob - may be nullpublic java.lang.CharSequence formatTimestamp(Timestamp t)
Tuple.TupleFormatterformatTimestamp in interface Tuple.TupleFormattert - may be nullpublic java.lang.CharSequence formatString(java.lang.String s)
Tuple.TupleFormatterformatString in interface Tuple.TupleFormatters - may be nullpublic java.lang.CharSequence formatInt(java.lang.Integer i)
Tuple.TupleFormatterformatInt in interface Tuple.TupleFormatteri - may be nullpublic java.lang.CharSequence formatDouble(java.lang.Double d)
Tuple.TupleFormatterformatDouble in interface Tuple.TupleFormatterd - may be nullpublic java.lang.CharSequence formatLong(java.lang.Long l)
Tuple.TupleFormatterformatLong in interface Tuple.TupleFormatterl - may be nullpublic java.lang.CharSequence formatBool(java.lang.Boolean b)
Tuple.TupleFormatterformatBool in interface Tuple.TupleFormatterb - may be nullpublic java.lang.CharSequence formatTuple(Tuple t)
Tuple.TupleFormatterformatTuple in interface Tuple.TupleFormattert - may be nullpublic java.lang.CharSequence formatList(CompleteDataType elementType, java.util.List<?> l)
Tuple.TupleFormatterformatList in interface Tuple.TupleFormatterelementType - the data type of all list elementsl - may be nullpublic java.lang.CharSequence formatFunction(Function f)
Tuple.TupleFormatterformatFunction in interface Tuple.TupleFormatterf - may be null