Skip to content

Commit

Permalink
fix: add descriptions, remove useless docs
Browse files Browse the repository at this point in the history
  • Loading branch information
emptyOVO committed Aug 20, 2024
1 parent 0af31c5 commit 2609adf
Showing 1 changed file with 5 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,24 +25,18 @@
import net.sf.jsqlparser.expression.Function;

import java.math.BigDecimal;

/**
* TanFunction
* description: tan(numeric)--returns the tangent of numeric
*/
public class TanFunction implements ValueParser {

private ValueParser numberParser;

/**
* Constructor
* @param expr
*/
public TanFunction(Function expr) {
numberParser = OperatorTools.buildParser(expr.getParameters().getExpressions().get(0));
}
/**
* parse
* @param sourceData
* @param rowIndex
* @return
*/

@Override
public Object parse(SourceData sourceData, int rowIndex, Context context) {
Object numberObj = numberParser.parse(sourceData, rowIndex, context);
Expand Down

0 comments on commit 2609adf

Please sign in to comment.