本文整理汇总了Java中net.sf.jsqlparser.expression.ExtractExpression类的典型用法代码示例。如果您正苦于以下问题:Java ExtractExpression类的具体用法?Java ExtractExpression怎么用?Java ExtractExpression使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ExtractExpression类属于net.sf.jsqlparser.expression包,在下文中一共展示了ExtractExpression类的14个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: visit
import net.sf.jsqlparser.expression.ExtractExpression; //导入依赖的package包/类
@Override
public void visit(ExtractExpression eexpr) {
buffer.append("EXTRACT(").append(eexpr.getName());
buffer.append(" FROM ");
eexpr.getExpression().accept(this);
buffer.append(')');
}
示例2: visit
import net.sf.jsqlparser.expression.ExtractExpression; //导入依赖的package包/类
@Override
public void visit(ExtractExpression expr)
{
invalid = true;
super.visit(expr);
}
示例3: ExtractExpression
import net.sf.jsqlparser.expression.ExtractExpression; //导入依赖的package包/类
final public ExtractExpression ExtractExpression() throws ParseException {
/* @bgen(jjtree) ExtractExpression */
SimpleNode jjtn000 = new SimpleNode(JJTEXTRACTEXPRESSION);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
ExtractExpression retval = new ExtractExpression();
Token token = null;
Expression expr = null;
try {
jj_consume_token(K_EXTRACT);
jj_consume_token(166);
token = jj_consume_token(S_IDENTIFIER);
retval.setName(token.image);
jj_consume_token(K_FROM);
expr = SimpleExpression();
retval.setExpression(expr);
jj_consume_token(167);
jjtree.closeNodeScope(jjtn000, true);
jjtc000 = false;
{
if (true)
return retval;
}
} catch (Throwable jjte000) {
if (jjtc000) {
jjtree.clearNodeScope(jjtn000);
jjtc000 = false;
} else {
jjtree.popNode();
}
if (jjte000 instanceof RuntimeException) {
{
if (true)
throw (RuntimeException) jjte000;
}
}
if (jjte000 instanceof ParseException) {
{
if (true)
throw (ParseException) jjte000;
}
}
{
if (true)
throw (Error) jjte000;
}
} finally {
if (jjtc000) {
jjtree.closeNodeScope(jjtn000, true);
}
}
throw new Error("Missing return statement in function");
}
示例4: visit
import net.sf.jsqlparser.expression.ExtractExpression; //导入依赖的package包/类
@Override
public void visit(ExtractExpression eexpr) {
}
示例5: visit
import net.sf.jsqlparser.expression.ExtractExpression; //导入依赖的package包/类
@Override
public void visit(ExtractExpression eexpr) {
// TODO Auto-generated method stub
}
示例6: visit
import net.sf.jsqlparser.expression.ExtractExpression; //导入依赖的package包/类
@Override
public void visit(ExtractExpression eexpr) {
throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
}
示例7: visit
import net.sf.jsqlparser.expression.ExtractExpression; //导入依赖的package包/类
@Override
public void visit(ExtractExpression ee
) {
}
示例8: visit
import net.sf.jsqlparser.expression.ExtractExpression; //导入依赖的package包/类
public void visit(ExtractExpression eexpr) {
}
示例9: visit
import net.sf.jsqlparser.expression.ExtractExpression; //导入依赖的package包/类
@Override
public void visit(ExtractExpression arg0) {
isSimple = false;
}
示例10: visit
import net.sf.jsqlparser.expression.ExtractExpression; //导入依赖的package包/类
@Override
public void visit(ExtractExpression extract)
{
throw new UnsupportedSqlExpressionException("EXTRACT"); //$NON-NLS-1$
}
示例11: visit
import net.sf.jsqlparser.expression.ExtractExpression; //导入依赖的package包/类
@Override
public void visit(ExtractExpression extract)
{
throw new IllegalOperationException("Illegal SQL ON expression: " + extract); //$NON-NLS-1$
}
示例12: visit
import net.sf.jsqlparser.expression.ExtractExpression; //导入依赖的package包/类
@Override
public void visit(ExtractExpression eexpr) {
eexpr.getExpression().accept(this);
}
示例13: visit
import net.sf.jsqlparser.expression.ExtractExpression; //导入依赖的package包/类
@Override
public void visit(ExtractExpression arg0) {
// TODO Auto-generated method stub
}
示例14: visit
import net.sf.jsqlparser.expression.ExtractExpression; //导入依赖的package包/类
@Override
public void visit(ExtractExpression eexpr) {
}