public class MDFUtil extends Object
Modifier and Type | Class and Description |
---|---|
static class |
MDFUtil.MDFVersion |
Modifier and Type | Field and Description |
---|---|
static String |
CHARSET_ISO8859 |
static String |
CHARSET_UTF8 |
static long |
epoch1984 |
static long |
MAX_UINT64 |
Constructor and Description |
---|
MDFUtil() |
Modifier and Type | Method and Description |
---|---|
static Number |
applyFormula(String formula,
Number value) |
static com.pervasive.datarush.operators.io.mdf.internal.MDF<?> |
getMDFFileWrapper(MDFUtil.MDFVersion version,
FileClient fileClient,
ByteSource source) |
static String |
readChars(ByteBuffer buffer,
int length,
String charset) |
static String |
readCharsUTF16(ByteBuffer buffer,
int length,
boolean littleEndian) |
static short |
readInt16(ByteBuffer buffer) |
static int |
readInt32(ByteBuffer buffer) |
static long |
readInt64(ByteBuffer buffer) |
static long |
readLink(ByteBuffer buffer) |
static long |
readPartValue(long bitOffset,
long bitSize,
ByteBuffer buffer) |
static double |
readReal(ByteBuffer buffer) |
static int |
readUInt16(ByteBuffer buffer) |
static long |
readUInt32(ByteBuffer buffer) |
static long |
readUInt64(ByteBuffer buffer) |
static byte |
readUInt8(ByteBuffer buffer) |
static long |
readValue(int bitOffset,
int bitSize,
ByteBuffer buffer) |
public static final long epoch1984
public static final String CHARSET_ISO8859
public static final String CHARSET_UTF8
public static final long MAX_UINT64
public static com.pervasive.datarush.operators.io.mdf.internal.MDF<?> getMDFFileWrapper(MDFUtil.MDFVersion version, FileClient fileClient, ByteSource source) throws IOException
IOException
public static byte readUInt8(ByteBuffer buffer)
public static int readUInt16(ByteBuffer buffer)
public static short readInt16(ByteBuffer buffer)
public static long readUInt32(ByteBuffer buffer)
public static int readInt32(ByteBuffer buffer)
public static long readUInt64(ByteBuffer buffer)
public static long readInt64(ByteBuffer buffer)
public static double readReal(ByteBuffer buffer)
public static long readLink(ByteBuffer buffer)
public static String readChars(ByteBuffer buffer, int length, String charset) throws IOException
IOException
public static String readCharsUTF16(ByteBuffer buffer, int length, boolean littleEndian) throws IOException
IOException
public static long readValue(int bitOffset, int bitSize, ByteBuffer buffer)
public static long readPartValue(long bitOffset, long bitSize, ByteBuffer buffer)
Copyright © 2020 Actian Corporation. All rights reserved.