org.ibatis.persist.impl.ExpressionImplementor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jbatis Show documentation
Show all versions of jbatis Show documentation
The jBATIS persistence framework will help you to significantly reduce the amount of Java code that you normally need to access a relational database. iBATIS simply maps JavaBeans to SQL statements using a very simple XML descriptor.
The newest version!
package org.ibatis.persist.impl;
import java.math.BigDecimal;
import java.math.BigInteger;
import org.ibatis.persist.criteria.Expression;
/**
* Internal contract for implementations of the JPA {@link Expression} contract.
*/
public interface ExpressionImplementor extends SelectionImplementor, Expression {
/**
* See {@link org.ibatis.persist.criteria.CriteriaBuilder#toLong}
*
* @return this but as a long
*/
public ExpressionImplementor asLong();
/**
* See {@link org.ibatis.persist.criteria.CriteriaBuilder#toInteger}
*
* @return this but as an integer
*/
public ExpressionImplementor asInteger();
/**
* See {@link org.ibatis.persist.criteria.CriteriaBuilder#toFloat}
*
* @return this but as a float
*/
public ExpressionImplementor asFloat();
/**
* See {@link org.ibatis.persist.criteria.CriteriaBuilder#toDouble}
*
* @return this but as a double
*/
public ExpressionImplementor asDouble();
/**
* See {@link org.ibatis.persist.criteria.CriteriaBuilder#toBigDecimal}
*
* @return this but as a {@link BigDecimal}
*/
public ExpressionImplementor asBigDecimal();
/**
* See {@link org.ibatis.persist.criteria.CriteriaBuilder#toBigInteger}
*
* @return this but as a {@link BigInteger}
*/
public ExpressionImplementor asBigInteger();
/**
* See {@link org.ibatis.persist.criteria.CriteriaBuilder#toString}
*
* @return this but as a string
*/
public ExpressionImplementor asString();
}