java.lang.Object
com.pervasive.datarush.operators.io.mdf.MDFUtil
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic NumberapplyFormula(String formula, Number value) static com.pervasive.datarush.operators.io.mdf.internal.MDF<?>getMDFFileWrapper(MDFUtil.MDFVersion version, FileClient fileClient, ByteSource source) static StringreadChars(ByteBuffer buffer, int length, String charset) static StringreadCharsUTF16(ByteBuffer buffer, int length, boolean littleEndian) static shortreadInt16(ByteBuffer buffer) static intreadInt32(ByteBuffer buffer) static longreadInt64(ByteBuffer buffer) static longreadLink(ByteBuffer buffer) static longreadPartValue(long bitOffset, long bitSize, ByteBuffer buffer) static doublereadReal(ByteBuffer buffer) static intreadUInt16(ByteBuffer buffer) static longreadUInt32(ByteBuffer buffer) static longreadUInt64(ByteBuffer buffer) static bytereadUInt8(ByteBuffer buffer) static longreadValue(int bitOffset, int bitSize, ByteBuffer buffer)
-
Field Details
-
epoch1984
public static final long epoch1984- See Also:
-
CHARSET_ISO8859
- See Also:
-
CHARSET_UTF8
- See Also:
-
MAX_UINT64
public static final long MAX_UINT64- See Also:
-
-
Constructor Details
-
MDFUtil
public MDFUtil()
-
-
Method Details
-
getMDFFileWrapper
public static com.pervasive.datarush.operators.io.mdf.internal.MDF<?> getMDFFileWrapper(MDFUtil.MDFVersion version, FileClient fileClient, ByteSource source) throws IOException - Throws:
IOException
-
readUInt8
-
readUInt16
-
readInt16
-
readUInt32
-
readInt32
-
readUInt64
-
readInt64
-
readReal
-
readLink
-
readChars
- Throws:
IOException
-
readCharsUTF16
public static String readCharsUTF16(ByteBuffer buffer, int length, boolean littleEndian) throws IOException - Throws:
IOException
-
readValue
-
readPartValue
-
applyFormula
public static Number applyFormula(String formula, Number value) throws com.pervasive.datarush.expression.ParseException - Throws:
com.pervasive.datarush.expression.ParseException
-