📄 sqlexpression.html
字号:
<DD>The type of field containing a binding object (must be mapped to an integer).
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.semanticweb.kaon2.extensionapi.jdbc.SQLExpression.TYPE_BINDING_OBJECT">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="TYPE_STRING"><!-- --></A><H3>
TYPE_STRING</H3>
<PRE>
static final int <B>TYPE_STRING</B></PRE>
<DL>
<DD>The type of field containing a string.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.semanticweb.kaon2.extensionapi.jdbc.SQLExpression.TYPE_STRING">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="TYPE_INTEGER"><!-- --></A><H3>
TYPE_INTEGER</H3>
<PRE>
static final int <B>TYPE_INTEGER</B></PRE>
<DL>
<DD>The type of field containing a integer.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.semanticweb.kaon2.extensionapi.jdbc.SQLExpression.TYPE_INTEGER">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="TYPE_SHORT"><!-- --></A><H3>
TYPE_SHORT</H3>
<PRE>
static final int <B>TYPE_SHORT</B></PRE>
<DL>
<DD>The type of field containing a short.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.semanticweb.kaon2.extensionapi.jdbc.SQLExpression.TYPE_SHORT">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="TYPE_BYTE"><!-- --></A><H3>
TYPE_BYTE</H3>
<PRE>
static final int <B>TYPE_BYTE</B></PRE>
<DL>
<DD>The type of field containing a byte.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.semanticweb.kaon2.extensionapi.jdbc.SQLExpression.TYPE_BYTE">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="TYPE_FLOAT"><!-- --></A><H3>
TYPE_FLOAT</H3>
<PRE>
static final int <B>TYPE_FLOAT</B></PRE>
<DL>
<DD>The type of field containing a float.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.semanticweb.kaon2.extensionapi.jdbc.SQLExpression.TYPE_FLOAT">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="TYPE_DOUBLE"><!-- --></A><H3>
TYPE_DOUBLE</H3>
<PRE>
static final int <B>TYPE_DOUBLE</B></PRE>
<DL>
<DD>The type of field containing a double.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.semanticweb.kaon2.extensionapi.jdbc.SQLExpression.TYPE_DOUBLE">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="TYPE_DATE"><!-- --></A><H3>
TYPE_DATE</H3>
<PRE>
static final int <B>TYPE_DATE</B></PRE>
<DL>
<DD>The type of field containing a date.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.semanticweb.kaon2.extensionapi.jdbc.SQLExpression.TYPE_DATE">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="TYPE_BOOLEAN"><!-- --></A><H3>
TYPE_BOOLEAN</H3>
<PRE>
static final int <B>TYPE_BOOLEAN</B></PRE>
<DL>
<DD>The type of field containing a boolean.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.semanticweb.kaon2.extensionapi.jdbc.SQLExpression.TYPE_BOOLEAN">Constant Field Values</A></DL>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="getType()"><!-- --></A><H3>
getType</H3>
<PRE>
int <B>getType</B>()</PRE>
<DL>
<DD>Returns the type of this expression.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the type of this expression</DL>
</DD>
</DL>
<HR>
<A NAME="writeExpression(java.lang.StringBuffer, org.semanticweb.kaon2.extensionapi.jdbc.DatabaseSpecifics)"><!-- --></A><H3>
writeExpression</H3>
<PRE>
void <B>writeExpression</B>(java.lang.StringBuffer buffer,
<A HREF="../../../../../org/semanticweb/kaon2/extensionapi/jdbc/DatabaseSpecifics.html" title="interface in org.semanticweb.kaon2.extensionapi.jdbc">DatabaseSpecifics</A> databaseSpecifics)
throws <A HREF="../../../../../org/semanticweb/kaon2/api/KAON2Exception.html" title="class in org.semanticweb.kaon2.api">KAON2Exception</A></PRE>
<DL>
<DD>Writes an expression into supplied buffer.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>buffer</CODE> - the buffer<DD><CODE>databaseSpecifics</CODE> - the specifics of the database
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../org/semanticweb/kaon2/api/KAON2Exception.html" title="class in org.semanticweb.kaon2.api">KAON2Exception</A></CODE> - thrown if there is an error</DL>
</DD>
</DL>
<HR>
<A NAME="isTautology()"><!-- --></A><H3>
isTautology</H3>
<PRE>
boolean <B>isTautology</B>()</PRE>
<DL>
<DD>Returns <code>true</code> if this expression is a tautology, so it can be removed from the query. It is safe to always return <code>false</code>.
<P>
<DD><DL>
<DT><B>Returns:</B><DD><code>true</code> if this expression is a tautology</DL>
</DD>
</DL>
<HR>
<A NAME="hashCode()"><!-- --></A><H3>
hashCode</H3>
<PRE>
int <B>hashCode</B>()</PRE>
<DL>
<DD>SQL expressions should override hashCode().
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE>hashCode</CODE> in class <CODE>java.lang.Object</CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the hash code</DL>
</DD>
</DL>
<HR>
<A NAME="equals(java.lang.Object)"><!-- --></A><H3>
equals</H3>
<PRE>
boolean <B>equals</B>(java.lang.Object that)</PRE>
<DL>
<DD>SQL expressions should override equals().
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE>equals</CODE> in class <CODE>java.lang.Object</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>that</CODE> - the other object
<DT><B>Returns:</B><DD><code>true</code> if objects are equal</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=2 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> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SQLExpression.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../org/semanticweb/kaon2/extensionapi/jdbc/DatabaseSpecifics.html" title="interface in org.semanticweb.kaon2.extensionapi.jdbc"><B>PREV CLASS</B></A>
NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../index.html?org/semanticweb/kaon2/extensionapi/jdbc/SQLExpression.html" target="_top"><B>FRAMES</B></A>
<A HREF="SQLExpression.html" target="_top"><B>NO FRAMES</B></A>
<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: NESTED | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -