Julian Hyde created CALCITE-1929:
------------------------------------

             Summary: Deprecate class RelDataTypeFactory.FieldInfoBuilder
                 Key: CALCITE-1929
                 URL: https://issues.apache.org/jira/browse/CALCITE-1929
             Project: Calcite
          Issue Type: Bug
            Reporter: Julian Hyde
            Assignee: Julian Hyde


Since interface {{RelDataTypeFactory.FieldInfo}} is deprecated, and 
{{RelDataTypeFactory.FieldInfoBuilder}} implements it, we should also deprecate 
{{FieldInfoBuilder}}.

We will create a new class {{RelDataTypeFactory.Builder}} that does the same as 
{{FieldInfoBuilder}} without implementing the {{FieldInfo}} interface.

For backwards compatibility, {{RelDataTypeFactory.builder()}} will continue to 
return {{FieldInfoBuilder}} but we recommend that you assign the result to a 
variable of type {{Builder}}. Thus you won't be using the deprecated class in 
your code.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to