List of usage examples for org.apache.spark.unsafe.types UTF8String EMPTY_UTF8
UTF8String EMPTY_UTF8
To view the source code for org.apache.spark.unsafe.types UTF8String EMPTY_UTF8.
Click Source Link
From source file:com.hurence.logisland.connect.source.KafkaConnectStreamSource.java
License:Apache License
private UTF8String toUTFString(Object o) { if (o != null) { return UTF8String.fromString(o.toString()); }//from ww w.j a v a2 s .c o m return UTF8String.EMPTY_UTF8; }