object BCDNumberDecoders
- Alphabetic
- By Inheritance
- BCDNumberDecoders
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
decodeBCDIntegralNumber(bytes: Array[Byte], mandatorySignNibble: Boolean): Long
Decode an integral binary encoded decimal (BCD) aka COMP-3 format to a String
Decode an integral binary encoded decimal (BCD) aka COMP-3 format to a String
- bytes
A byte array that represents the binary data
- mandatorySignNibble
If true the BCD number should contain the sign nibble. Otherwise the number is considered unsigned.
- returns
A boxed long representation of the binary data, null if the data is not properly formatted
-
def
decodeBigBCDDecimal(binBytes: Array[Byte], scale: Int, scaleFactor: Int, mandatorySignNibble: Boolean): BigDecimal
Malformed data does not cause exceptions in Spark.
Malformed data does not cause exceptions in Spark. Null values are returned instead
-
def
decodeBigBCDNumber(bytes: Array[Byte], scale: Int, scaleFactor: Int, mandatorySignNibble: Boolean): String
Decode a binary encoded decimal (BCD) aka COMP-3 format to a String
Decode a binary encoded decimal (BCD) aka COMP-3 format to a String
- bytes
A byte array that represents the binary data
- scale
A decimal scale if a number is a decimal. Should be greater or equal to zero
- scaleFactor
Additional zeros to be added before of after the decimal point
- mandatorySignNibble
If true the BCD number should contain the sign nibble. Otherwise the number is considered unsigned.
- returns
A string representation of the binary data, null if the data is not properly formatted
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()