Package com.influxdb.client.domain
Class File
java.lang.Object
com.influxdb.client.domain.File
Represents a source from a single file
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription_package
(PackageClause _package) addBodyItem
(Statement bodyItem) addImportsItem
(ImportDeclaration importsItem) boolean
getBody()
List of Flux statementsA list of package importsgetName()
The name of the file.Get _packagegetType()
Type of AST nodeint
hashCode()
imports
(List<ImportDeclaration> imports) void
void
setImports
(List<ImportDeclaration> imports) void
void
setPackage
(PackageClause _package) void
toString()
-
Field Details
-
SERIALIZED_NAME_TYPE
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_PACKAGE
- See Also:
-
SERIALIZED_NAME_IMPORTS
- See Also:
-
SERIALIZED_NAME_BODY
- See Also:
-
-
Constructor Details
-
File
public File()
-
-
Method Details
-
type
-
getType
Type of AST node- Returns:
- type
-
setType
-
name
-
getName
The name of the file.- Returns:
- name
-
setName
-
_package
-
getPackage
Get _package- Returns:
- _package
-
setPackage
-
imports
-
addImportsItem
-
getImports
A list of package imports- Returns:
- imports
-
setImports
-
body
-
addBodyItem
-
getBody
List of Flux statements- Returns:
- body
-
setBody
-
equals
-
hashCode
public int hashCode() -
toString
-