Class Index | File Index

Classes


Class Event.ColumnDescriptor

Represents a descriptor of a database table column
Defined in: <D:\Programs\Neeve\Projects\NeeveBuild\stjsapi/src/main/webapp/js\event\ColumnDescriptor.js>.

Class Summary
Constructor Attributes Constructor Name and Description
 
Event.ColumnDescriptor(name, sqlType, nullable)
Creates a new descriptor of a row
Method Summary
Method Attributes Method Name and Description
void 
Returns the SQL type of the column data.
void 
Returns the Java class of the column data.
boolean 
Returns true if the described column can have null value, false otherwise
String 
Returns the column name
Class Detail
Event.ColumnDescriptor(name, sqlType, nullable)
Creates a new descriptor of a row
Parameters:
{String} name
The meta data describing the row to be created
{String} sqlType
The SQL type of the column data. Possible values are:
  • CHAR
  • VARCHAR
  • STRING
  • DATE
  • TIME
  • TIMESTAMP
  • TINYINT
  • SMALLINT
  • INTEGER
  • BIGINT
  • REAL
  • DOUBLE
  • FLOAT
  • NUMERIC
  • DECIMAL
  • BOOLEAN
  • BINARY
  • VARBINARY
  • CLOB
  • BLOB
  • BIT
  • EVENT
  • OTHER
{boolean} nullable
A flag indicating whether or not this column can contain null values
Method Detail
getType()
Returns the SQL type of the column data. See Event.ColumnDescriptor for possible values.
Returns:
The data SQL type

getTypeClass()
Returns the Java class of the column data. See Event.ColumnDescriptor for possible values.
Returns:
The Java class name

{boolean} isNullable()
Returns true if the described column can have null value, false otherwise
Returns:
True if the descriptor allows a column to have null value, false otherwise

{String} toString()
Returns the column name
Returns:
The name of the column

Copyright © 2015-2021 StreamScape Technologies. All rights reserved.