Java Code Examples for org.apache.calcite.util.Util#getDefaultCharset()

The following examples show how to use org.apache.calcite.util.Util#getDefaultCharset() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: RelDataTypeFactoryImpl.java    From Bats with Apache License 2.0 4 votes vote down vote up
public Charset getDefaultCharset() {
  return Util.getDefaultCharset();
}
 
Example 2
Source File: PlanExecutor.java    From quark with Apache License 2.0 4 votes vote down vote up
private RelDataTypeFactoryImpl.JavaType getStringJavaType() {
  RelDataTypeFactoryImpl relDataTypeFactoryImpl = new JavaTypeFactoryImpl();
  return relDataTypeFactoryImpl.new JavaType(String.class,
      !(String.class.isPrimitive()), Util.getDefaultCharset(), null);
}
 
Example 3
Source File: RelDataTypeFactoryImpl.java    From calcite with Apache License 2.0 4 votes vote down vote up
public Charset getDefaultCharset() {
  return Util.getDefaultCharset();
}