Class RawSqlSource

  • All Implemented Interfaces:
    SqlSource

    public class RawSqlSource
    extends java.lang.Object
    implements SqlSource
    Static SqlSource. It is faster than DynamicSqlSource because mappings are calculated during startup.
    Since:
    3.2.0
    Author:
    Eduardo Macarron
    • Method Summary

      Modifier and Type Method Description
      BoundSql getBoundSql​(java.lang.Object parameterObject)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RawSqlSource

        public RawSqlSource​(Configuration configuration,
                            SqlNode rootSqlNode,
                            java.lang.Class<?> parameterType)
      • RawSqlSource

        public RawSqlSource​(Configuration configuration,
                            java.lang.String sql,
                            java.lang.Class<?> parameterType)