C# Class NuoDb.Data.Client.EncodedDataStream

Inheritance: DataStream
Afficher le fichier Open project: nuodb/nuodb-dotnet Class Usage Examples

Méthodes publiques

Свойство Type Description
@bool bool
@string string
bigDecimal decimal
blobId int
bytes byte[]
dbl double
integer32 int
integer64 long
scale int
type int
uuid Guid

Protected Properties

Свойство Type Description
buffer byte[]
offset int
priorCode int

Méthodes publiques

Méthode Description
EncodedDataStream ( ) : System
EncodedDataStream ( int protocolVersion ) : System
decode ( byte source, int sourceOffset ) : int
decode ( ) : void
encodeArray ( DataTable rows ) : void
encodeArray ( IDataRecord rows ) : void
encodeBigDecimal ( Decimal bd ) : void
encodeBoolean ( bool value ) : void
encodeBytes ( byte value ) : void
encodeDate ( DateTime date ) : void
encodeDotNetObject ( object value ) : void
encodeDouble ( double dbl ) : void
encodeGuid ( Guid guid ) : void
encodeInt ( int value ) : void
encodeLong ( long value ) : void
encodeLong ( long value, int scale ) : void
encodeNull ( ) : void
encodeOldBigDecimal ( decimal bd ) : void
encodeScaledDate ( DateTime date ) : void
encodeScaledTime ( DateTime time ) : void
encodeScaledTime ( TimeSpan time ) : void
encodeScaledTimestamp ( DateTime val ) : void
encodeString ( string @string ) : void
encodeTime ( DateTime time ) : void
encodeTime ( TimeSpan time ) : void
encodeTimestamp ( DateTime val ) : void
getBigDecimal ( ) : decimal
getBoolean ( ) : bool
getBytes ( ) : byte[]
getDouble ( ) : double
getInt ( ) : int
getLong ( ) : long
getMessage ( CryptoInputStream stream ) : void
getString ( ) : string
getUUId ( ) : Guid
setBase64 ( char data, int dataOffset, int length ) : int
setData ( byte data, int offset, int length ) : void
startMessage ( int messageType ) : void
write ( byte b ) : void

Private Methods

Méthode Description
ConvertToScaledDecimal ( Decimal bd, int &scale, Decimal &temp ) : void
ScaleDecimal ( Decimal bd, int scale ) : Decimal
byteCount ( int n ) : int
byteCount ( long n ) : int
encodeInt ( int count, int value ) : void
getValue ( SQLContext sqlContext ) : Value

Method Details

EncodedDataStream() public méthode

public EncodedDataStream ( ) : System
Résultat System

EncodedDataStream() public méthode

public EncodedDataStream ( int protocolVersion ) : System
protocolVersion int
Résultat System

decode() public méthode

public decode ( byte source, int sourceOffset ) : int
source byte
sourceOffset int
Résultat int

decode() public méthode

public decode ( ) : void
Résultat void

encodeArray() public méthode

public encodeArray ( DataTable rows ) : void
rows DataTable
Résultat void

encodeArray() public méthode

public encodeArray ( IDataRecord rows ) : void
rows IDataRecord
Résultat void

encodeBigDecimal() public méthode

public encodeBigDecimal ( Decimal bd ) : void
bd Decimal
Résultat void

encodeBoolean() public méthode

public encodeBoolean ( bool value ) : void
value bool
Résultat void

encodeBytes() public méthode

public encodeBytes ( byte value ) : void
value byte
Résultat void

encodeDate() public méthode

public encodeDate ( DateTime date ) : void
date DateTime
Résultat void

encodeDotNetObject() public méthode

public encodeDotNetObject ( object value ) : void
value object
Résultat void

encodeDouble() public méthode

public encodeDouble ( double dbl ) : void
dbl double
Résultat void

encodeGuid() public méthode

public encodeGuid ( Guid guid ) : void
guid Guid
Résultat void

encodeInt() public méthode

public encodeInt ( int value ) : void
value int
Résultat void

encodeLong() public méthode

public encodeLong ( long value ) : void
value long
Résultat void

encodeLong() public méthode

public encodeLong ( long value, int scale ) : void
value long
scale int
Résultat void

encodeNull() public méthode

public encodeNull ( ) : void
Résultat void

encodeOldBigDecimal() public méthode

public encodeOldBigDecimal ( decimal bd ) : void
bd decimal
Résultat void

encodeScaledDate() public méthode

public encodeScaledDate ( DateTime date ) : void
date DateTime
Résultat void

encodeScaledTime() public méthode

public encodeScaledTime ( DateTime time ) : void
time DateTime
Résultat void

encodeScaledTime() public méthode

public encodeScaledTime ( TimeSpan time ) : void
time TimeSpan
Résultat void

encodeScaledTimestamp() public méthode

public encodeScaledTimestamp ( DateTime val ) : void
val DateTime
Résultat void

encodeString() public méthode

public encodeString ( string @string ) : void
@string string
Résultat void

encodeTime() public méthode

public encodeTime ( DateTime time ) : void
time DateTime
Résultat void

encodeTime() public méthode

public encodeTime ( TimeSpan time ) : void
time TimeSpan
Résultat void

encodeTimestamp() public méthode

public encodeTimestamp ( DateTime val ) : void
val DateTime
Résultat void

getBigDecimal() public méthode

public getBigDecimal ( ) : decimal
Résultat decimal

getBoolean() public méthode

public getBoolean ( ) : bool
Résultat bool

getBytes() public méthode

public getBytes ( ) : byte[]
Résultat byte[]

getDouble() public méthode

public getDouble ( ) : double
Résultat double

getInt() public méthode

public getInt ( ) : int
Résultat int

getLong() public méthode

public getLong ( ) : long
Résultat long

getMessage() public méthode

public getMessage ( CryptoInputStream stream ) : void
stream CryptoInputStream
Résultat void

getString() public méthode

public getString ( ) : string
Résultat string

getUUId() public méthode

public getUUId ( ) : Guid
Résultat Guid

setBase64() public méthode

public setBase64 ( char data, int dataOffset, int length ) : int
data char
dataOffset int
length int
Résultat int

setData() public méthode

public setData ( byte data, int offset, int length ) : void
data byte
offset int
length int
Résultat void

startMessage() public méthode

public startMessage ( int messageType ) : void
messageType int
Résultat void

write() public méthode

public write ( byte b ) : void
b byte
Résultat void

Property Details

@bool public_oe property

public bool @bool
Résultat bool

@string public_oe property

public string @string
Résultat string

bigDecimal public_oe property

public decimal bigDecimal
Résultat decimal

blobId public_oe property

public int blobId
Résultat int

buffer protected_oe property

protected byte[] buffer
Résultat byte[]

bytes public_oe property

public byte[] bytes
Résultat byte[]

dbl public_oe property

public double dbl
Résultat double

integer32 public_oe property

public int integer32
Résultat int

integer64 public_oe property

public long integer64
Résultat long

offset protected_oe property

protected int offset
Résultat int

priorCode protected_oe property

protected int priorCode
Résultat int

scale public_oe property

public int scale
Résultat int

type public_oe property

public int type
Résultat int

uuid public_oe property

public Guid uuid
Résultat Guid