com.sybase.jdbc2.tds
Class TdsParam

java.lang.Object
  |
  +--com.sybase.jdbc2.jdbc.Param
        |
        +--com.sybase.jdbc2.tds.TdsParam
Direct Known Subclasses:
TdsUpdateParam

public class TdsParam
extends Param


Field Summary
 (package private) byte[]_cvtString
           
 private com.sybase.jdbc2.tds.DataFormat_inDataFmt
           
 protected java.lang.String_parameterAsAString
           
 protected boolean_paramIsLittleEndian
           
 private com.sybase.jdbc2.tds.TdsDataOutputStream_tdos
           
 private final static java.lang.StringHEX_START
           
 private final static java.lang.StringNULL
           
 private final static java.lang.StringQUOTE
           
 private final static java.lang.StringZERO
           

Fields inherited from class com.sybase.jdbc2.jdbc.Param
_inValue, _name, _outParamClassName, _outValue, _paramMarkerOffset, _regType, _scale, _sendAsLiteral, _sqlType, JAVA_OBJECT, NOT_SET, STATUS_RETURN

Constructor Summary
TdsParam(com.sybase.jdbc2.tds.TdsDataOutputStream )
           

Method Summary
 protected voidclear(boolean )
           
 protected intgetCharCount()
           
 protected intgetLength()
           
 protected java.lang.StringgetStringFromStream(int )
           
 java.lang.StringliteralValue(com.sybase.jdbc2.jdbc.Protocol , int , int )
           
 protected booleanmakeFormat(com.sybase.jdbc2.jdbc.Protocol )
           
 protected voidprepareForSend(com.sybase.jdbc2.jdbc.Protocol , int , boolean )
           
 protected voidsend(java.io.OutputStream , int )
           
 protected voidsendFormat(java.io.DataOutput )
           
 private booleansendingLongbinIsOK(com.sybase.jdbc2.jdbc.Protocol )
           
 private booleansendingLongcharIsOK(com.sybase.jdbc2.jdbc.Protocol )
           

Methods inherited from class com.sybase.jdbc2.jdbc.Param
cloneMe

Methods inherited from class java.lang.Object
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize

Field Detail

_cvtString

byte[] _cvtString

_inDataFmt

private com.sybase.jdbc2.tds.DataFormat _inDataFmt

_parameterAsAString

protected java.lang.String _parameterAsAString

_paramIsLittleEndian

protected boolean _paramIsLittleEndian

_tdos

private com.sybase.jdbc2.tds.TdsDataOutputStream _tdos

HEX_START

private final static java.lang.String HEX_START

NULL

private final static java.lang.String NULL

QUOTE

private final static java.lang.String QUOTE

ZERO

private final static java.lang.String ZERO
Constructor Detail

TdsParam

public TdsParam(com.sybase.jdbc2.tds.TdsDataOutputStream )
Method Detail

clear

protected void clear(boolean )

getCharCount

protected int getCharCount()

getLength

protected int getLength()

getStringFromStream

protected java.lang.String getStringFromStream(int )

literalValue

public java.lang.String literalValue(com.sybase.jdbc2.jdbc.Protocol , int , int )

makeFormat

protected boolean makeFormat(com.sybase.jdbc2.jdbc.Protocol )

prepareForSend

protected void prepareForSend(com.sybase.jdbc2.jdbc.Protocol , int , boolean )

send

protected void send(java.io.OutputStream , int )

sendFormat

protected void sendFormat(java.io.DataOutput )

sendingLongbinIsOK

private boolean sendingLongbinIsOK(com.sybase.jdbc2.jdbc.Protocol )

sendingLongcharIsOK

private boolean sendingLongcharIsOK(com.sybase.jdbc2.jdbc.Protocol )