Class SqlDialect.FakeUtil

  • Enclosing class:
    SqlDialect

    public static class SqlDialect.FakeUtil
    extends java.lang.Object
    A few utility functions copied from org.apache.calcite.util.Util. We have copied them because we wish to keep SqlDialect's dependencies to a minimum.
    • Constructor Summary

      Constructors 
      Constructor Description
      FakeUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.Error newInternal​(java.lang.Throwable e, java.lang.String s)  
      static java.lang.String replace​(java.lang.String s, java.lang.String find, java.lang.String replace)
      Replaces every occurrence of find in s with replace.
      • Methods inherited from class java.lang.Object

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

      • FakeUtil

        public FakeUtil()
    • Method Detail

      • newInternal

        public static java.lang.Error newInternal​(java.lang.Throwable e,
                                                  java.lang.String s)
      • replace

        public static java.lang.String replace​(java.lang.String s,
                                               java.lang.String find,
                                               java.lang.String replace)
        Replaces every occurrence of find in s with replace.