public class StringFunctionHelpers extends Object
Constructor and Description |
---|
StringFunctionHelpers() |
Modifier and Type | Method and Description |
---|---|
static long |
getDate(DrillBuf buf,
int start,
int end) |
static String |
getStringFromVarCharHolder(VarCharHolder varCharHolder)
Convert a VarCharHolder to a String.
|
static void |
initCap(int start,
int end,
DrillBuf inBuf,
DrillBuf outBuf) |
static String |
toStringFromUTF16(int start,
int end,
DrillBuf buffer) |
static String |
toStringFromUTF8(int start,
int end,
DrillBuf buffer) |
static int |
varCharToInt(int start,
int end,
DrillBuf buffer) |
static long |
varCharToLong(int start,
int end,
DrillBuf buffer) |
public static long varCharToLong(int start, int end, DrillBuf buffer)
public static int varCharToInt(int start, int end, DrillBuf buffer)
public static String getStringFromVarCharHolder(VarCharHolder varCharHolder)
varCharHolder
- a mutable wrapper object that stores a variable length char array, always in UTF-8public static long getDate(DrillBuf buf, int start, int end)
Copyright © 2015 The Apache Software Foundation. All rights reserved.