⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 datatype.html

📁 dfdfddfskfjdsklfjksdljflksjfsjlkfdjlksfjkdsjfsdjkflsjkf
💻 HTML
📖 第 1 页 / 共 3 页
字号:
</DL>
<HR>

<A NAME="VARBINARY"><!-- --></A><H3>
VARBINARY</H3>
<PRE>
public static final <A HREF="../../../../org/dbunit/dataset/datatype/DataType.html" title="class in org.dbunit.dataset.datatype">DataType</A> <B>VARBINARY</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>

<A NAME="LONGVARBINARY"><!-- --></A><H3>
LONGVARBINARY</H3>
<PRE>
public static final <A HREF="../../../../org/dbunit/dataset/datatype/DataType.html" title="class in org.dbunit.dataset.datatype">DataType</A> <B>LONGVARBINARY</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>

<A NAME="BLOB"><!-- --></A><H3>
BLOB</H3>
<PRE>
public static final <A HREF="../../../../org/dbunit/dataset/datatype/DataType.html" title="class in org.dbunit.dataset.datatype">DataType</A> <B>BLOB</B></PRE>
<DL>
<DL>
</DL>
</DL>

<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="DataType()"><!-- --></A><H3>
DataType</H3>
<PRE>
public <B>DataType</B>()</PRE>
<DL>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="typeCast(java.lang.Object)"><!-- --></A><H3>
typeCast</H3>
<PRE>
public abstract java.lang.Object <B>typeCast</B>(java.lang.Object&nbsp;value)                                   throws <A HREF="../../../../org/dbunit/dataset/datatype/TypeCastException.html" title="class in org.dbunit.dataset.datatype">TypeCastException</A></PRE>
<DL>
<DD>Returns the specified value typecasted to this <code>DataType</code>
<P>
<DD><DL>
<DT><B>Throws:</B><DD><CODE><A HREF="../../../../org/dbunit/dataset/datatype/TypeCastException.html" title="class in org.dbunit.dataset.datatype">TypeCastException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="compare(java.lang.Object, java.lang.Object)"><!-- --></A><H3>
compare</H3>
<PRE>
public abstract int <B>compare</B>(java.lang.Object&nbsp;o1,                            java.lang.Object&nbsp;o2)                     throws <A HREF="../../../../org/dbunit/dataset/datatype/TypeCastException.html" title="class in org.dbunit.dataset.datatype">TypeCastException</A></PRE>
<DL>
<DD>Returns a negative integer, zero, or a positive integer as the first argument is less than, equal to, or greater than the second. <p> The two values are typecast to this DataType before being compared.
<P>
<DD><DL>
<DT><B>Throws:</B><DD><CODE><A HREF="../../../../org/dbunit/dataset/datatype/TypeCastException.html" title="class in org.dbunit.dataset.datatype">TypeCastException</A></CODE> - if the arguments' types prevent them from being compared by this Comparator.</DL>
</DD>
</DL>
<HR>

<A NAME="getSqlType()"><!-- --></A><H3>
getSqlType</H3>
<PRE>
public abstract int <B>getSqlType</B>()</PRE>
<DL>
<DD>Returns the coresponding <CODE>Types</CODE>.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getTypeClass()"><!-- --></A><H3>
getTypeClass</H3>
<PRE>
public abstract java.lang.Class <B>getTypeClass</B>()</PRE>
<DL>
<DD>Returns the runtime class of the typecast result.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="isNumber()"><!-- --></A><H3>
isNumber</H3>
<PRE>
public abstract boolean <B>isNumber</B>()</PRE>
<DL>
<DD>Returns <code>true</code> if this <code>DataType</code> represents a number.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="isDateTime()"><!-- --></A><H3>
isDateTime</H3>
<PRE>
public abstract boolean <B>isDateTime</B>()</PRE>
<DL>
<DD>Returns <code>true</code> if this <code>DataType</code> represents a date and/or time.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getSqlValue(int, java.sql.ResultSet)"><!-- --></A><H3>
getSqlValue</H3>
<PRE>
public abstract java.lang.Object <B>getSqlValue</B>(int&nbsp;column,                                             java.sql.ResultSet&nbsp;resultSet)                                      throws java.sql.SQLException,                                             <A HREF="../../../../org/dbunit/dataset/datatype/TypeCastException.html" title="class in org.dbunit.dataset.datatype">TypeCastException</A></PRE>
<DL>
<DD>Returns the specified column value from the specified resultset object.
<P>
<DD><DL>
<DT><B>Throws:</B><DD><CODE>java.sql.SQLException</CODE><DD><CODE><A HREF="../../../../org/dbunit/dataset/datatype/TypeCastException.html" title="class in org.dbunit.dataset.datatype">TypeCastException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="setSqlValue(java.lang.Object, int, java.sql.PreparedStatement)"><!-- --></A><H3>
setSqlValue</H3>
<PRE>
public abstract void <B>setSqlValue</B>(java.lang.Object&nbsp;value,                                 int&nbsp;column,                                 java.sql.PreparedStatement&nbsp;statement)                          throws java.sql.SQLException,                                 <A HREF="../../../../org/dbunit/dataset/datatype/TypeCastException.html" title="class in org.dbunit.dataset.datatype">TypeCastException</A></PRE>
<DL>
<DD>Set the specified value to the specified prepared statement object.
<P>
<DD><DL>
<DT><B>Throws:</B><DD><CODE>java.sql.SQLException</CODE><DD><CODE><A HREF="../../../../org/dbunit/dataset/datatype/TypeCastException.html" title="class in org.dbunit.dataset.datatype">TypeCastException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="asString(java.lang.Object)"><!-- --></A><H3>
asString</H3>
<PRE>
public static java.lang.String <B>asString</B>(java.lang.Object&nbsp;value)                                 throws <A HREF="../../../../org/dbunit/dataset/datatype/TypeCastException.html" title="class in org.dbunit.dataset.datatype">TypeCastException</A></PRE>
<DL>
<DD>Typecast the specified value to string.
<P>
<DD><DL>
<DT><B>Throws:</B><DD><CODE><A HREF="../../../../org/dbunit/dataset/datatype/TypeCastException.html" title="class in org.dbunit.dataset.datatype">TypeCastException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="forSqlType(int)"><!-- --></A><H3>
forSqlType</H3>
<PRE>
public static <A HREF="../../../../org/dbunit/dataset/datatype/DataType.html" title="class in org.dbunit.dataset.datatype">DataType</A> <B>forSqlType</B>(int&nbsp;sqlType)                           throws <A HREF="../../../../org/dbunit/dataset/datatype/DataTypeException.html" title="class in org.dbunit.dataset.datatype">DataTypeException</A></PRE>
<DL>
<DD>Returns the <code>DataType</code> corresponding to the specified Sql type. See <CODE>Types</CODE>.
<P>
<DD><DL>
<DT><B>Throws:</B><DD><CODE><A HREF="../../../../org/dbunit/dataset/datatype/DataTypeException.html" title="class in org.dbunit.dataset.datatype">DataTypeException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="forSqlTypeName(java.lang.String)"><!-- --></A><H3>
forSqlTypeName</H3>
<PRE>
public static <A HREF="../../../../org/dbunit/dataset/datatype/DataType.html" title="class in org.dbunit.dataset.datatype">DataType</A> <B>forSqlTypeName</B>(java.lang.String&nbsp;sqlTypeName)                               throws <A HREF="../../../../org/dbunit/dataset/datatype/DataTypeException.html" title="class in org.dbunit.dataset.datatype">DataTypeException</A></PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;<I>Should not be used anymore</I>
<P>
<DD>Returns the <code>DataType</code> corresponding to the specified Sql type name.
<P>
<DD><DL>
<DT><B>Throws:</B><DD><CODE><A HREF="../../../../org/dbunit/dataset/datatype/DataTypeException.html" title="class in org.dbunit.dataset.datatype">DataTypeException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="forObject(java.lang.Object)"><!-- --></A><H3>
forObject</H3>
<PRE>
public static <A HREF="../../../../org/dbunit/dataset/datatype/DataType.html" title="class in org.dbunit.dataset.datatype">DataType</A> <B>forObject</B>(java.lang.Object&nbsp;value)</PRE>
<DL>
<DD>Returns the <code>DataType</code> corresponding to the specified value runtime class. This method returns <code>DataType.UNKNOWN</code> if the value is <code>null</code> or runtime class not recognized.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>

<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/DataType.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../org/dbunit/dataset/datatype/ClobDataType.html" title="class in org.dbunit.dataset.datatype"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../org/dbunit/dataset/datatype/DataTypeException.html" title="class in org.dbunit.dataset.datatype"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="DataType.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>
Copyright &copy; 2002-2004 DbUnit.org. All Rights Reserved.
</BODY>
</HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -