TypesTranslator typesTranslator,
QueryContext queryContext) {
Sequence sequence = column.getIdentityGenerator();
if ((sequence != null) && Boolean.FALSE.equals(column.getDefaultIdentity())) {
// FALSE => ALWAYS, override user value even if present
expression = new TSequenceNextValueExpression(column.getType(), sequence);
}
else if (expression == null) {
TInstance type = column.getType();
if (sequence != null) {
expression = new TSequenceNextValueExpression(type, sequence);
}
else if (column.getDefaultFunction() != null) {
OverloadResolver<TValidatedScalar> resolver = typesService.getScalarsResolver();
TValidatedScalar overload = resolver.get(column.getDefaultFunction(),
Collections.<TPreptimeValue>emptyList()).getOverload();