Fast adding field to UBF

Functions

native void org::endurox::TypedUbf.Baddfast (int bfldid, short s, BFldLocInfo next_fld)
native void org::endurox::TypedUbf.Baddfast (int bfldid, long l, BFldLocInfo next_fld)
native void org::endurox::TypedUbf.Baddfast (int bfldid, byte c, BFldLocInfo next_fld)
native void org::endurox::TypedUbf.Baddfast (int bfldid, float f, BFldLocInfo next_fld)
native void org::endurox::TypedUbf.Baddfast (int bfldid, double d, BFldLocInfo next_fld)
native void org::endurox::TypedUbf.Baddfast (int bfldid, String s, BFldLocInfo next_fld)
native void org::endurox::TypedUbf.Baddfast (int bfldid, byte[]b, BFldLocInfo next_fld)

Detailed Description

Fast add field to UBF buffer. This function is used when series of the same field occurrences are added to buffer. This saves a pointer to last buffer offset where data is finished to add. Thus next add operation will continue from that position. This greatly increases the buffer population speed. Between calls, no modifications shall be done to buffer, otherwise that might results in corrupted UBF buffer. When adding first field in the batch, then BFldLocInfo must be reset. Either by creating new object or explicitly calling reset() method on the object.

Parameters:
bfldid compiled field id
Exceptions:
UbfBALIGNERRException Invalid Buffer
UbfBNOTFLDException Invalid Buffer
UbfBNOSPACEException No space in buffer

Function Documentation

native void org.endurox.TypedUbf.Baddfast ( int  bfldid,
byte[]  b,
BFldLocInfo  next_fld 
) [inherited]

Add byte array to UBF buffer

Parameters:
bfldid field id
b byte array
next_fld storage for last field added pointer.
native void org.endurox.TypedUbf.Baddfast ( int  bfldid,
String  s,
BFldLocInfo  next_fld 
) [inherited]

Add string to UBF buffer

Parameters:
bfldid field id
s String value
next_fld storage for last field added pointer.
native void org.endurox.TypedUbf.Baddfast ( int  bfldid,
double  d,
BFldLocInfo  next_fld 
) [inherited]

Set Double value to buffer

Parameters:
bfldid field id
d double value
next_fld storage for last field added pointer.
native void org.endurox.TypedUbf.Baddfast ( int  bfldid,
float  f,
BFldLocInfo  next_fld 
) [inherited]

Set float value to buffer

Parameters:
bfldid compiled field id
f float value
next_fld storage for last field added pointer.
native void org.endurox.TypedUbf.Baddfast ( int  bfldid,
byte  c,
BFldLocInfo  next_fld 
) [inherited]

Add byte (ANSI Char) to UBF

Parameters:
bfldid compiled field id
c ANSI char value / Java byte
next_fld storage for last field added pointer.
native void org.endurox.TypedUbf.Baddfast ( int  bfldid,
long  l,
BFldLocInfo  next_fld 
) [inherited]

Add long value to UBF

Parameters:
bfldid compiled field id
l long value
next_fld storage for last field added pointer.
native void org.endurox.TypedUbf.Baddfast ( int  bfldid,
short  s,
BFldLocInfo  next_fld 
) [inherited]

Add short value to UBF buffer

Parameters:
bfldid compiled field id
s short value
next_fld storage for last field added pointer.
 All Classes Namespaces Files Functions Variables

Generated on 2 Apr 2021 for endurox-java by  doxygen 1.6.1