com.sybase.jdbc2.tds
Class DataFormat

java.lang.Object
  |
  +--com.sybase.jdbc2.tds.Token
        |
        +--com.sybase.jdbc2.tds.DataFormat

public class DataFormat
extends Token


Field Summary
 protected int_blobType
           
 protected int_classIdLen
           
 protected java.lang.String_className
           
 protected int_datatype
           
 protected int_length
           
 protected java.lang.String_locale
           
 protected java.lang.String_name
           
 protected int_precision
           
 protected int_scale
           
 protected int_status
           
 protected java.lang.String_tableName
           
 protected int_usertype
           

Constructor Summary
 protected DataFormat()
           
 DataFormat(com.sybase.jdbc2.tds.TdsInputStream )
           
 DataFormat(com.sybase.jdbc2.tds.TdsInputStream , boolean )
           
 DataFormat(com.sybase.jdbc2.tds.TdsParam , com.sybase.jdbc2.tds.TdsOutputStream )
           

Method Summary
 static java.lang.StringgetDataTypeString(int )
           
 intlength()
           
 protected static intlengthSize(int )
           
 private static intmaxLength(com.sybase.jdbc2.tds.TdsParam , int , int )
           
 private voidnewDataFormat(com.sybase.jdbc2.tds.TdsInputStream , boolean )
           
 voidsend(com.sybase.jdbc2.tds.TdsOutputStream )
           

Methods inherited from class com.sybase.jdbc2.tds.Token
readSQE, writeSQE

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

Field Detail

_blobType

protected int _blobType

_classIdLen

protected int _classIdLen

_className

protected java.lang.String _className

_datatype

protected int _datatype

_length

protected int _length

_locale

protected java.lang.String _locale

_name

protected java.lang.String _name

_precision

protected int _precision

_scale

protected int _scale

_status

protected int _status

_tableName

protected java.lang.String _tableName

_usertype

protected int _usertype
Constructor Detail

DataFormat

protected DataFormat()

DataFormat

public DataFormat(com.sybase.jdbc2.tds.TdsInputStream )

DataFormat

public DataFormat(com.sybase.jdbc2.tds.TdsInputStream , boolean )

DataFormat

public DataFormat(com.sybase.jdbc2.tds.TdsParam , com.sybase.jdbc2.tds.TdsOutputStream )
Method Detail

getDataTypeString

public static java.lang.String getDataTypeString(int )

length

public int length()

lengthSize

protected static int lengthSize(int )

maxLength

private static int maxLength(com.sybase.jdbc2.tds.TdsParam , int , int )

newDataFormat

private void newDataFormat(com.sybase.jdbc2.tds.TdsInputStream , boolean )

send

public void send(com.sybase.jdbc2.tds.TdsOutputStream )