パッケージ org.postgresql.util
クラス NumberParser
java.lang.Object
org.postgresql.util.NumberParser
Optimised byte[] to number parser.
-
コンストラクタの概要
コンストラクタ -
メソッドの概要
修飾子とタイプメソッド説明static long
getFastLong
(byte[] bytes, long minVal, long maxVal) Optimised byte[] to number parser.
-
コンストラクタの詳細
-
NumberParser
public NumberParser()
-
-
メソッドの詳細
-
getFastLong
Optimised byte[] to number parser. This code does not handle null values, so the caller must do checkResultSet and handle null values prior to calling this function. Fraction part is discarded.- パラメータ:
bytes
- integer represented as a sequence of ASCII bytes- 戻り値:
- The parsed number.
- 例外:
NumberFormatException
- If the number is invalid or the out of range for fast parsing. The value must then be parsed by another (less optimised) method.
-