65 const char* sqltypename,
72 TNamed(columnname,
"column information"),
89 std::cout <<
"Column: " <<
GetName()
92 std::cout <<
" typeid:";
105 std::cout <<
" nullable:" << (
fNullable ?
"yes" :
"no");
111 std::cout <<
" unsigned";
113 std::cout <<
" signed";
115 std::cout << std::endl;
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
int Int_t
Signed integer 4 bytes (int).
bool Bool_t
Boolean (0=false, 1=true) (bool).
const char Option_t
Option string (const char).
const char * GetName() const override
Returns name of object.
static void IndentLevel()
Functions used by ls() to indent an object hierarchy.
Int_t fSQLType
! datatype code (see TSQLServer::ESQLDataTypes constants), -1 if not defeined
Int_t fSize
! size of column in bytes, -1 if not defing
Bool_t fNullable
! identify if value can be NULL
TString fTypeName
! sql type name, as reported by DB. Should be as much as close to declaration of column in CREATE TAB...
void Print(Option_t *option="") const override
Prints column information to standard output.
Int_t fScale
! datatype scale factor, used for instance in NUMBER(len,scale) definition. -1 if not defined
Int_t fLength
! datatype length definition, for instance VARCHAR(len) or FLOAT(len), -1 if not defined
TSQLColumnInfo()
default contructor
Int_t fSigned
! if datatype signed or not, 0 - kFALSE, 1 - kTRUE, -1 - unknown