Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*
  * Copyright 2014-2015 the original author or authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *     http://www.apache.org/licenses/LICENSE-2.0
  *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, 
 * either express or implied. See the License for the specific language
 * governing permissions and limitations under the License.
 */
package org.dbflute.cbean.chelper;

Author(s):
jflute
public interface HpCalcStatement {

    
Build the calculation statement of the column as SQL name.
e.g. called by Update Calculation

Parameters:
aliasName The alias name of the target column, containing dot mark. (NullAllowed)
Returns:
The statement that has calculation. (NullAllowed: if null, means the column is not specified)
    String buildStatementAsSqlName(String aliasName);

    
Build the calculation statement to the specified column.
e.g. called by ColumnQuery Calculation

Parameters:
columnExp The expression of the column. (NotNull)
Returns:
The statement that has calculation. (NullAllowed: if null, means the column is not specified)
    String buildStatementToSpecifidName(String columnExp);

    
Build the calculation statement to the specified column.
No cipher here because the column has already been handled cipher.
e.g. called by ManualOrder Calculation

Parameters:
columnExp The expression of the column. (NotNull)
columnAliasMap The map of column alias. (NotNull)
Returns:
The statement that has calculation. (NullAllowed: if null, means the column is not specified)
    String buildStatementToSpecifidName(String columnExpMap<StringStringcolumnAliasMap);
New to GrepCode? Check out our FAQ X