Class BaseSparkSqlTool
java.lang.Object
com.hw.langchain.tools.base.BaseTool
com.hw.langchain.tools.spark.sql.tool.BaseSparkSqlTool
- Direct Known Subclasses:
InfoSparkSqlTool
,ListSparkSqlTool
,QueryCheckerTool
,QuerySparkSqlTool
Base tool for interacting with Spark SQL.
- Author:
- HamaWhite
-
Field Summary
Fields inherited from class com.hw.langchain.tools.base.BaseTool
description, name, returnDirect
-
Constructor Summary
ModifierConstructorDescriptionprotected
BaseSparkSqlTool
(SparkSql db, String name, String description) -
Method Summary
Methods inherited from class com.hw.langchain.tools.base.BaseTool
args, canEqual, equals, getDescription, getName, hashCode, innerRun, isReturnDirect, isSingleInput, run, toArgsAndKwargs, toString
-
Field Details
-
db
-
-
Constructor Details
-
BaseSparkSqlTool
-