public class PojoWriters extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PojoWriters.BitWriter
Pojo writer for boolean.
|
static class |
PojoWriters.DecimalWriter
Pojo writer for decimal.
|
static class |
PojoWriters.DoubleWriter
Pojo writer for double.
|
static class |
PojoWriters.EnumWriter
Pojo writer for Enum.
|
static class |
PojoWriters.IntWriter
Pojo writer for int.
|
static class |
PojoWriters.LongWriter
Pojo writer for long.
|
static class |
PojoWriters.NBigIntWriter
Pojo writer for Long.
|
static class |
PojoWriters.NBooleanWriter
Pojo writer for Boolean.
|
static class |
PojoWriters.NDoubleWriter
Pojo writer for Double.
|
static class |
PojoWriters.NIntWriter
Pojo writer for Integer.
|
static class |
PojoWriters.NTimeStampWriter
Pojo writer for Timestamp.
|
static class |
PojoWriters.StringWriter
Pojo writer for String.
|
| Constructor and Description |
|---|
PojoWriters() |
| Modifier and Type | Method and Description |
|---|---|
static PojoWriter |
getWriter(Class<?> type,
String fieldName,
DrillBuf buffer)
Creates matching writer to the given field type.
|
public static PojoWriter getWriter(Class<?> type, String fieldName, DrillBuf buffer) throws ExecutionSetupException
type - field typefieldName - field namebuffer - drill bufferExecutionSetupException - in case if writer was not found for the given typeCopyright © 2021 The Apache Software Foundation. All rights reserved.