Skip navigation links
A B C D E F G H I N O P R S T U V W 

A

AbstractImportPostProcessor - Class in com.klarna.hiverunner.sql.cli
An abstract PostProcessor implementation that recursively expands import type commands such as Hive CLI's SOURCE, and Beeline's !run commands.
AbstractImportPostProcessor(StatementLexer) - Constructor for class com.klarna.hiverunner.sql.cli.AbstractImportPostProcessor
 
addResource(String, Path) - Method in class com.klarna.hiverunner.builder.HiveShellBuilder
 
addResource(String, String) - Method in class com.klarna.hiverunner.builder.HiveShellBuilder
 
addResource(String, File) - Method in interface com.klarna.hiverunner.HiveShell
Copy test data into hdfs May only be called pre #start()
addResource(String, Path) - Method in interface com.klarna.hiverunner.HiveShell
Copy test data into hdfs May only be called pre #start()
addResource(String, String) - Method in interface com.klarna.hiverunner.HiveShell
Copy test data into hdfs May only be called pre #start()
addRow(Object...) - Method in class com.klarna.hiverunner.data.InsertIntoTable
Flushes the current row and creates a new row with the values specified.
addRowsFrom(File, FileParser) - Method in class com.klarna.hiverunner.data.InsertIntoTable
Adds all rows from the file specified, using the provided parser.
addRowsFromDelimited(File, String, Object) - Method in class com.klarna.hiverunner.data.InsertIntoTable
Adds all rows from the TSV file specified, using the provided delimiter and null value.
addRowsFromTsv(File) - Method in class com.klarna.hiverunner.data.InsertIntoTable
Adds all rows from the TSV file specified.
addSetupScript(String) - Method in class com.klarna.hiverunner.builder.HiveShellBuilder
 
addSetupScript(String) - Method in interface com.klarna.hiverunner.HiveShell
Add a hive script that will be executed when the hive shell is started Scripts will be executed in the order they are added.
addSetupScripts(Charset, File...) - Method in interface com.klarna.hiverunner.HiveShell
Add hive scripts that will be executed when the hive shell is started.
addSetupScripts(Charset, Path...) - Method in interface com.klarna.hiverunner.HiveShell
Add hive scripts that will be executed when the hive shell is started.
addSetupScripts(File...) - Method in interface com.klarna.hiverunner.HiveShell
Add hive scripts that will be executed when the hive shell is started.
addSetupScripts(Path...) - Method in interface com.klarna.hiverunner.HiveShell
Add hive scripts that will be executed when the hive shell is started.
afterEach(ExtensionContext) - Method in class com.klarna.hiverunner.HiveRunnerExtension
 
append(String) - Method in interface com.klarna.hiverunner.sql.split.Context
 
appendWith(Consumer) - Method in interface com.klarna.hiverunner.sql.split.Context
 
apply(Statement, Description) - Method in class com.klarna.hiverunner.HiveRunnerRule
 
applyToPath(Path) - Method in class com.klarna.hiverunner.sql.StatementLexer
 
applyToScript(String) - Method in class com.klarna.hiverunner.sql.StatementLexer
 
applyToStatement(String) - Method in class com.klarna.hiverunner.sql.StatementLexer
 

B

BEELINE_SPECIAL_CHARS - Static variable in enum com.klarna.hiverunner.sql.cli.beeline.BeelineEmulator
 
BeelineEmulator - Enum in com.klarna.hiverunner.sql.cli.beeline
Emulates CLI behaviours specific to beeline.
buildShell() - Method in class com.klarna.hiverunner.builder.HiveShellBuilder
 

C

CloseStatementRule - Enum in com.klarna.hiverunner.sql.split
A TokenRule for handling statement terminating characters.
com.klarna.hiverunner - package com.klarna.hiverunner
 
com.klarna.hiverunner.annotations - package com.klarna.hiverunner.annotations
 
com.klarna.hiverunner.builder - package com.klarna.hiverunner.builder
 
com.klarna.hiverunner.config - package com.klarna.hiverunner.config
 
com.klarna.hiverunner.data - package com.klarna.hiverunner.data
 
com.klarna.hiverunner.sql - package com.klarna.hiverunner.sql
 
com.klarna.hiverunner.sql.cli - package com.klarna.hiverunner.sql.cli
 
com.klarna.hiverunner.sql.cli.beeline - package com.klarna.hiverunner.sql.cli.beeline
 
com.klarna.hiverunner.sql.cli.hive - package com.klarna.hiverunner.sql.cli.hive
 
com.klarna.hiverunner.sql.split - package com.klarna.hiverunner.sql.split
 
com.klarna.reflection - package com.klarna.reflection
 
COMMAND_SHELL_EMULATOR_DEFAULT - Static variable in class com.klarna.hiverunner.config.HiveRunnerConfig
 
COMMAND_SHELL_EMULATOR_PROPERTY_NAME - Static variable in class com.klarna.hiverunner.config.HiveRunnerConfig
CommandShellEmulator - Interface in com.klarna.hiverunner.sql.cli
Attempt to accurately emulate the behaviours (good and bad) of different Hive shells.
CommandShellEmulatorFactory - Class in com.klarna.hiverunner.sql.cli
 
CommentUtil - Class in com.klarna.hiverunner.sql.cli
Utility methods for handling SQL comments.
commit() - Method in class com.klarna.hiverunner.data.InsertIntoTable
Inserts the data into the table.
configureAssertionStatus(HiveConf) - Method in class com.klarna.hiverunner.StandaloneHiveServerContext
 
configureFileSystem(Path, HiveConf) - Method in class com.klarna.hiverunner.StandaloneHiveServerContext
 
configureJavaSecurityRealm(HiveConf) - Method in class com.klarna.hiverunner.StandaloneHiveServerContext
 
configureMetaStore(HiveConf) - Method in class com.klarna.hiverunner.StandaloneHiveServerContext
 
configureMiscHiveSettings(HiveConf) - Method in class com.klarna.hiverunner.StandaloneHiveServerContext
 
configureMrExecutionEngine(HiveConf) - Method in class com.klarna.hiverunner.StandaloneHiveServerContext
 
configureSupportConcurrency(HiveConf) - Method in class com.klarna.hiverunner.StandaloneHiveServerContext
 
configureTezExecutionEngine(HiveConf) - Method in class com.klarna.hiverunner.StandaloneHiveServerContext
 
consume(Context) - Method in interface com.klarna.hiverunner.sql.split.Consumer
 
Consumer - Interface in com.klarna.hiverunner.sql.split
Provide a means to direct the StatementSplitter in how it should consume tokens.
Context - Interface in com.klarna.hiverunner.sql.split
Provides a means to modify and inspect the state of the parsing and splitting of a script.
convert(Object, PrimitiveTypeInfo) - Static method in class com.klarna.hiverunner.data.Converters
Attempts to convert the input value into the target type.
Converters - Class in com.klarna.hiverunner.data
A utility class for converting from Strings into the target Hive table's column type.
copyRow() - Method in class com.klarna.hiverunner.data.InsertIntoTable
Flushes the current row and creates a new row with the same values.
create(HiveRunnerConfig, Object) - Static method in class com.klarna.hiverunner.ThrowOnTimeout
 
createAndSetFolderProperty(HiveConf.ConfVars, String, HiveConf, Path) - Method in class com.klarna.hiverunner.StandaloneHiveServerContext
 
createAndSetFolderProperty(String, String, HiveConf, Path) - Method in class com.klarna.hiverunner.StandaloneHiveServerContext
 

D

DefaultPreProcessor - Enum in com.klarna.hiverunner.sql.cli
A PreProcessor that strips comments from statements and scripts.
DefaultTokenRule - Enum in com.klarna.hiverunner.sql.split
A TokenRule for handling general characters.

E

ENABLE_TIMEOUT_DEFAULT - Static variable in class com.klarna.hiverunner.config.HiveRunnerConfig
 
ENABLE_TIMEOUT_PROPERTY_NAME - Static variable in class com.klarna.hiverunner.config.HiveRunnerConfig
Enable timeout.
equals(Object) - Method in class com.klarna.hiverunner.builder.HiveRunnerScript
 
equals(Object) - Method in class com.klarna.hiverunner.sql.HiveRunnerStatement
 
evaluate() - Method in class com.klarna.hiverunner.ThrowOnTimeout
 
evaluateStatement(List<? extends Script>, Object, Path, Statement) - Method in class com.klarna.hiverunner.StandaloneHiveRunner
Drives the unit test.
execute(String) - Method in interface com.klarna.hiverunner.HiveShell
Executes a hive script.
execute(File) - Method in interface com.klarna.hiverunner.HiveShell
Executes a hive script.
execute(Path) - Method in interface com.klarna.hiverunner.HiveShell
Executes a hive script.
execute(Charset, File) - Method in interface com.klarna.hiverunner.HiveShell
Executes a hive script.
execute(Charset, Path) - Method in interface com.klarna.hiverunner.HiveShell
Executes a hive script.
executeQuery(String) - Method in interface com.klarna.hiverunner.HiveShell
Executes a single query.
executeQuery(String, String, String) - Method in interface com.klarna.hiverunner.HiveShell
Executes a single query.
executeQuery(File) - Method in interface com.klarna.hiverunner.HiveShell
Executes a single query from a script file, returning any results.
executeQuery(Path) - Method in interface com.klarna.hiverunner.HiveShell
Executes a single query from a script file, returning any results.
executeQuery(Charset, File) - Method in interface com.klarna.hiverunner.HiveShell
Executes a single query from a script file, returning any results.
executeQuery(Charset, Path) - Method in interface com.klarna.hiverunner.HiveShell
Executes a single query from a script file, returning any results.
executeQuery(File, String, String) - Method in interface com.klarna.hiverunner.HiveShell
Executes a single query from a script file, returning any results.
executeQuery(Path, String, String) - Method in interface com.klarna.hiverunner.HiveShell
Executes a single query from a script file, returning any results.
executeQuery(Charset, File, String, String) - Method in interface com.klarna.hiverunner.HiveShell
Executes a single query from a script file, returning any results.
executeQuery(Charset, Path, String, String) - Method in interface com.klarna.hiverunner.HiveShell
Executes a single query from a script file, returning any results.
executeStatement(Statement) - Method in class com.klarna.hiverunner.HiveServerContainer
 
executeStatement(String) - Method in class com.klarna.hiverunner.HiveServerContainer
 
executeStatement(String) - Method in interface com.klarna.hiverunner.HiveShell
Execute a single hive query
expandVariableSubstitutes(String) - Method in class com.klarna.hiverunner.HiveServerContainer
 
expandVariableSubstitutes(String) - Method in interface com.klarna.hiverunner.HiveShell
Resolve all substituted variables with the hive conf.

F

FileParser - Interface in com.klarna.hiverunner.data
A File parsing class to be used with InsertIntoTable for inserting data into a Hive table from a File.
flush() - Method in interface com.klarna.hiverunner.sql.split.Context
 

G

getAllFields(Class, Predicate<? super Field>) - Static method in class com.klarna.reflection.ReflectionUtils
 
getBaseDir() - Method in class com.klarna.hiverunner.HiveServerContainer
 
getBaseDir() - Method in interface com.klarna.hiverunner.HiveServerContext
Get file folder that acts as the base dir for the test data.
getBaseDir() - Method in interface com.klarna.hiverunner.HiveShell
Get the test case sand box base dir
getBaseDir() - Method in class com.klarna.hiverunner.StandaloneHiveServerContext
 
getClient() - Method in class com.klarna.hiverunner.HiveServerContainer
 
getColumnNames(File) - Method in interface com.klarna.hiverunner.data.FileParser
Parses the given file and returns the column names that are available in the file.
getColumnNames(File) - Method in class com.klarna.hiverunner.data.TsvFileParser
 
getCommandShellEmulator() - Method in class com.klarna.hiverunner.config.HiveRunnerConfig
Determines the statement parsing behaviour of the interactive shell.
getCwd() - Method in interface com.klarna.hiverunner.HiveShell
 
getField(Class<?>, String) - Static method in class com.klarna.reflection.ReflectionUtils
Finds the first Field with given field name in the Class and in its super classes.
getFieldValue(Object, String, Class<T>) - Static method in class com.klarna.reflection.ReflectionUtils
 
getHiveConf() - Method in class com.klarna.hiverunner.HiveServerContainer
 
getHiveConf() - Method in interface com.klarna.hiverunner.HiveServerContext
Get the hiveconf.
getHiveConf() - Method in interface com.klarna.hiverunner.HiveShell
Get the current HiveConf from hive
getHiveConf() - Method in class com.klarna.hiverunner.StandaloneHiveServerContext
 
getHiveConfSystemOverride() - Method in class com.klarna.hiverunner.config.HiveRunnerConfig
 
getHiveExecutionEngine() - Method in class com.klarna.hiverunner.config.HiveRunnerConfig
Get the configured hive.execution.engine.
getHiveRunnerConfig() - Method in class com.klarna.hiverunner.StandaloneHiveRunner
 
getImportPath(String) - Method in class com.klarna.hiverunner.sql.cli.AbstractImportPostProcessor
 
getIndex() - Method in class com.klarna.hiverunner.builder.HiveRunnerScript
 
getIndex() - Method in interface com.klarna.hiverunner.builder.Script
index of script within all scripts in source
getIndex() - Method in interface com.klarna.hiverunner.builder.Statement
Index of statement within all statements of script
getIndex() - Method in class com.klarna.hiverunner.sql.HiveRunnerStatement
 
getName() - Method in enum com.klarna.hiverunner.sql.cli.beeline.BeelineEmulator
 
getName() - Method in interface com.klarna.hiverunner.sql.cli.CommandShellEmulator
 
getName() - Method in enum com.klarna.hiverunner.sql.cli.hive.HiveCliEmulator
 
getName() - Method in enum com.klarna.hiverunner.sql.cli.hive.PreV200HiveCliEmulator
 
getPath() - Method in class com.klarna.hiverunner.builder.HiveRunnerScript
 
getPath() - Method in interface com.klarna.hiverunner.builder.Script
 
getResourceOutputStream(String) - Method in interface com.klarna.hiverunner.HiveShell
Open up a stream to write test data into HDFS.
getScriptsUnderTest() - Method in class com.klarna.hiverunner.HiveRunnerRule
 
getScriptsUnderTest() - Method in interface com.klarna.hiverunner.HiveShellContainer
Returns a List of the scripts being tested.
getSql() - Method in class com.klarna.hiverunner.builder.HiveRunnerScript
 
getSql() - Method in interface com.klarna.hiverunner.builder.Script
 
getSql() - Method in interface com.klarna.hiverunner.builder.Statement
Original sql of the statement
getSql() - Method in class com.klarna.hiverunner.sql.HiveRunnerStatement
 
getStaticFieldValue(Class, String, Class<T>) - Static method in class com.klarna.reflection.ReflectionUtils
 
getTestRules(Object) - Method in class com.klarna.hiverunner.StandaloneHiveRunner
 
getTimeoutRetries() - Method in class com.klarna.hiverunner.config.HiveRunnerConfig
 
getTimeoutSeconds() - Method in class com.klarna.hiverunner.config.HiveRunnerConfig
 
getVariableSubstitution() - Method in class com.klarna.hiverunner.HiveServerContainer
 

H

handle(String, Context) - Method in enum com.klarna.hiverunner.sql.cli.beeline.SqlLineCommandRule
 
handle(String, Context) - Method in enum com.klarna.hiverunner.sql.split.CloseStatementRule
 
handle(String, Context) - Method in enum com.klarna.hiverunner.sql.split.DefaultTokenRule
 
handle(String, Context) - Method in enum com.klarna.hiverunner.sql.split.PreserveCommentsRule
 
handle(String, Context) - Method in enum com.klarna.hiverunner.sql.split.PreserveQuotesRule
 
handle(String, Context) - Method in interface com.klarna.hiverunner.sql.split.TokenRule
 
hasColumnNames() - Method in interface com.klarna.hiverunner.data.FileParser
Method that checks if the parser has access to column names.
hasColumnNames() - Method in class com.klarna.hiverunner.data.TsvFileParser
 
hashCode() - Method in class com.klarna.hiverunner.builder.HiveRunnerScript
 
hashCode() - Method in class com.klarna.hiverunner.sql.HiveRunnerStatement
 
HiveCliEmulator - Enum in com.klarna.hiverunner.sql.cli.hive
Emulates CLI behaviours specific to the Hive CLI.
hiveConf - Variable in class com.klarna.hiverunner.StandaloneHiveServerContext
 
HIVECONF_SYSTEM_OVERRIDE_PREFIX - Static variable in class com.klarna.hiverunner.config.HiveRunnerConfig
Suffix used to flag a system property to be a hiveconf setting.
HiveProperties - Annotation Type in com.klarna.hiverunner.annotations
Marks a field to contain properties that will be appended to the HiveConf.
HiveResource - Annotation Type in com.klarna.hiverunner.annotations
Marks a field to contain test data input.
HiveRunnerConfig - Class in com.klarna.hiverunner.config
HiveRunner runtime configuration.
HiveRunnerConfig() - Constructor for class com.klarna.hiverunner.config.HiveRunnerConfig
Construct a HiveRunnerConfig that will override hiveConf with System properties of the format 'hiveconf_[hiveconf property name]'.
HiveRunnerConfig(Properties) - Constructor for class com.klarna.hiverunner.config.HiveRunnerConfig
Construct a HiveRunnerConfig that will override hiveConf with the given properties of the format 'hiveconf_[hiveconf property name]'.
HiveRunnerExtension - Class in com.klarna.hiverunner
 
HiveRunnerExtension() - Constructor for class com.klarna.hiverunner.HiveRunnerExtension
 
HiveRunnerRule - Class in com.klarna.hiverunner
A rule that executes the scripts under test
HiveRunnerScript - Class in com.klarna.hiverunner.builder
 
HiveRunnerSetup - Annotation Type in com.klarna.hiverunner.annotations
Annotates a field that configures the hive runner runtime.
HiveRunnerStatement - Class in com.klarna.hiverunner.sql
 
HiveRunnerStatement(int, String) - Constructor for class com.klarna.hiverunner.sql.HiveRunnerStatement
 
HiveServerContainer - Class in com.klarna.hiverunner
HiveServer wrapper
HiveServerContainer(HiveServerContext) - Constructor for class com.klarna.hiverunner.HiveServerContainer
 
HiveServerContext - Interface in com.klarna.hiverunner
Configuration for the HiveServer.
HiveSetupScript - Annotation Type in com.klarna.hiverunner.annotations
Marks a field to refer to a setup script.
HiveShell - Interface in com.klarna.hiverunner
Test handle to the hive server.
HiveShellBuilder - Class in com.klarna.hiverunner.builder
Builds a HiveShell.
HiveShellBuilder() - Constructor for class com.klarna.hiverunner.builder.HiveShellBuilder
 
HiveShellContainer - Interface in com.klarna.hiverunner
Wrapper for the HiveShell that allows the fwk to sugar the HiveShell with functionality that will not be exposed to the test case creator.
HiveSQL - Annotation Type in com.klarna.hiverunner.annotations
Marks a field (of type HiveShell) in a unit test.

I

init(Map<String, String>, Map<String, String>) - Method in class com.klarna.hiverunner.HiveServerContainer
Will start the HiveServer.
init() - Method in interface com.klarna.hiverunner.HiveServerContext
Create all test resources and set all hive configurations.
init() - Method in class com.klarna.hiverunner.StandaloneHiveServerContext
 
insertInto(String, String) - Method in interface com.klarna.hiverunner.HiveShell
Returns an InsertIntoTable that allows programmatically inserting data into a table in a fluent manner.
InsertIntoTable - Class in com.klarna.hiverunner.data
A class for fluently creating a list of rows and inserting them into a table.
isImport(String) - Method in class com.klarna.hiverunner.sql.cli.AbstractImportPostProcessor
 
isOfType(Field, Class) - Static method in class com.klarna.reflection.ReflectionUtils
 
isTimeoutEnabled() - Method in class com.klarna.hiverunner.config.HiveRunnerConfig
 

N

newInstance(String, String, HiveConf) - Static method in class com.klarna.hiverunner.data.InsertIntoTable
Factory method for creating an InsertIntoTable.
newRow() - Method in class com.klarna.hiverunner.data.InsertIntoTable
Flushes the current row and creates a new row with null values for all columns.

O

override(HiveRunnerConfig) - Method in class com.klarna.hiverunner.config.HiveRunnerConfig
Copy values from the inserted config to this config.
overrideHiveConf(HiveConf) - Method in class com.klarna.hiverunner.StandaloneHiveServerContext
 
overrideScriptsUnderTest(List<? extends Script>) - Method in class com.klarna.hiverunner.builder.HiveShellBuilder
 

P

parse(File, HCatSchema, List<String>) - Method in interface com.klarna.hiverunner.data.FileParser
Parses the given file and returns the rows with the requested columns.
parse(File, HCatSchema, List<String>) - Method in class com.klarna.hiverunner.data.TsvFileParser
 
postProcessor(StatementLexer) - Method in enum com.klarna.hiverunner.sql.cli.beeline.BeelineEmulator
 
postProcessor(StatementLexer) - Method in interface com.klarna.hiverunner.sql.cli.CommandShellEmulator
 
postProcessor(StatementLexer) - Method in enum com.klarna.hiverunner.sql.cli.hive.HiveCliEmulator
 
postProcessor(StatementLexer) - Method in enum com.klarna.hiverunner.sql.cli.hive.PreV200HiveCliEmulator
 
PostProcessor - Interface in com.klarna.hiverunner.sql.cli
Allows the further processing of statements that have been extracted from a script.
postProcessTestInstance(Object, ExtensionContext) - Method in class com.klarna.hiverunner.HiveRunnerExtension
 
preProcessor() - Method in enum com.klarna.hiverunner.sql.cli.beeline.BeelineEmulator
 
preProcessor() - Method in interface com.klarna.hiverunner.sql.cli.CommandShellEmulator
 
preProcessor() - Method in enum com.klarna.hiverunner.sql.cli.hive.HiveCliEmulator
 
preProcessor() - Method in enum com.klarna.hiverunner.sql.cli.hive.PreV200HiveCliEmulator
 
PreProcessor - Interface in com.klarna.hiverunner.sql.cli
Allows preprocessing of raw script and statement text.
PreserveCommentsRule - Enum in com.klarna.hiverunner.sql.split
A TokenRule for handling comments.
PreserveQuotesRule - Enum in com.klarna.hiverunner.sql.split
A TokenRule for handling quoted character sequences.
PreV200HiveCliEmulator - Enum in com.klarna.hiverunner.sql.cli.hive
Emulates CLI behaviours specific to the Hive CLI.
putAllProperties(Map<String, String>) - Method in class com.klarna.hiverunner.builder.HiveShellBuilder
 

R

ReflectionUtils - Class in com.klarna.reflection
Collection of Reflection related helper functions.
runChild(FrameworkMethod, RunNotifier) - Method in class com.klarna.hiverunner.StandaloneHiveRunner
 
runTestMethod(FrameworkMethod, EachTestNotifier, int) - Method in class com.klarna.hiverunner.StandaloneHiveRunner
Runs a Statement that represents a leaf (aka atomic) test.

S

Script - Interface in com.klarna.hiverunner.builder
 
script(String) - Method in enum com.klarna.hiverunner.sql.cli.DefaultPreProcessor
 
script(String) - Method in interface com.klarna.hiverunner.sql.cli.PreProcessor
 
set(String, Object) - Method in class com.klarna.hiverunner.data.InsertIntoTable
Set the given column name to the given value.
setCommandShellEmulation(CommandShellEmulator) - Method in class com.klarna.hiverunner.builder.HiveShellBuilder
 
setCommandShellEmulator(CommandShellEmulator) - Method in class com.klarna.hiverunner.config.HiveRunnerConfig
 
setCwd(Path) - Method in interface com.klarna.hiverunner.HiveShell
 
setField(Object, String, Object) - Static method in class com.klarna.reflection.ReflectionUtils
 
setHiveConfValue(String, String) - Method in interface com.klarna.hiverunner.HiveShell
Set HiveConf property.
setHiveExecutionEngine(String) - Method in class com.klarna.hiverunner.config.HiveRunnerConfig
 
setHiveServerContainer(HiveServerContainer) - Method in class com.klarna.hiverunner.builder.HiveShellBuilder
 
setHiveVarValue(String, String) - Method in interface com.klarna.hiverunner.HiveShell
Set Hive variable.
setMetastoreProperty(String, String) - Method in class com.klarna.hiverunner.StandaloneHiveServerContext
 
setProperty(String, String) - Method in interface com.klarna.hiverunner.HiveShell
setRow(Object...) - Method in class com.klarna.hiverunner.data.InsertIntoTable
Sets the current row with the values specified.
setScriptsUnderTest(List<Path>, Charset) - Method in class com.klarna.hiverunner.builder.HiveShellBuilder
 
setScriptsUnderTest(List<? extends Script>) - Method in class com.klarna.hiverunner.HiveRunnerRule
 
setStaticField(Class, String, Object) - Static method in class com.klarna.reflection.ReflectionUtils
 
setTimeoutEnabled(boolean) - Method in class com.klarna.hiverunner.config.HiveRunnerConfig
 
setTimeoutRetries(int) - Method in class com.klarna.hiverunner.config.HiveRunnerConfig
 
setTimeoutSeconds(int) - Method in class com.klarna.hiverunner.config.HiveRunnerConfig
 
specialCharacters() - Method in enum com.klarna.hiverunner.sql.cli.beeline.BeelineEmulator
 
specialCharacters() - Method in interface com.klarna.hiverunner.sql.cli.CommandShellEmulator
 
specialCharacters() - Method in enum com.klarna.hiverunner.sql.cli.hive.HiveCliEmulator
 
specialCharacters() - Method in enum com.klarna.hiverunner.sql.cli.hive.PreV200HiveCliEmulator
 
split(String) - Method in class com.klarna.hiverunner.sql.split.StatementSplitter
 
splitterRules() - Method in enum com.klarna.hiverunner.sql.cli.beeline.BeelineEmulator
 
splitterRules() - Method in interface com.klarna.hiverunner.sql.cli.CommandShellEmulator
 
splitterRules() - Method in enum com.klarna.hiverunner.sql.cli.hive.HiveCliEmulator
 
splitterRules() - Method in enum com.klarna.hiverunner.sql.cli.hive.PreV200HiveCliEmulator
 
SQL_SPECIAL_CHARS - Static variable in class com.klarna.hiverunner.sql.split.StatementSplitter
 
SqlLineCommandRule - Enum in com.klarna.hiverunner.sql.cli.beeline
A TokenRule that causes the splitter to capture beeline commands.
StandaloneHiveRunner - Class in com.klarna.hiverunner
JUnit 4 runner that runs hive sql on a HiveServer residing in this JVM.
StandaloneHiveRunner(Class<?>) - Constructor for class com.klarna.hiverunner.StandaloneHiveRunner
 
StandaloneHiveServerContext - Class in com.klarna.hiverunner
Responsible for common configuration for running the HiveServer within this JVM with zero external dependencies.
StandaloneHiveServerContext(Path, HiveRunnerConfig) - Constructor for class com.klarna.hiverunner.StandaloneHiveServerContext
 
start() - Method in interface com.klarna.hiverunner.HiveShell
Start the shell.
Statement - Interface in com.klarna.hiverunner.builder
 
statement(String) - Method in class com.klarna.hiverunner.sql.cli.AbstractImportPostProcessor
 
statement(String) - Method in enum com.klarna.hiverunner.sql.cli.DefaultPreProcessor
 
statement(String) - Method in interface com.klarna.hiverunner.sql.cli.PostProcessor
 
statement(String) - Method in interface com.klarna.hiverunner.sql.cli.PreProcessor
 
statement() - Method in interface com.klarna.hiverunner.sql.split.Context
 
StatementLexer - Class in com.klarna.hiverunner.sql
 
StatementLexer(Path, Charset, CommandShellEmulator) - Constructor for class com.klarna.hiverunner.sql.StatementLexer
 
StatementSplitter - Class in com.klarna.hiverunner.sql.split
Splits script text into statements according to a CommandShellEmulator.
StatementSplitter(CommandShellEmulator) - Constructor for class com.klarna.hiverunner.sql.split.StatementSplitter
 
StatementSplitter(List<TokenRule>, String) - Constructor for class com.klarna.hiverunner.sql.split.StatementSplitter
 
stripFullLineComments(String) - Static method in class com.klarna.hiverunner.sql.cli.CommentUtil
 

T

tearDown() - Method in class com.klarna.hiverunner.HiveServerContainer
Release all resources.
tearDown() - Method in interface com.klarna.hiverunner.HiveShellContainer
Should be called after execution of each test method and should tear down the test fixture leaving no residue for coming test cases.
ThrowOnTimeout - Class in com.klarna.hiverunner
 
ThrowOnTimeout(Statement, HiveRunnerConfig, Object) - Constructor for class com.klarna.hiverunner.ThrowOnTimeout
 
TIMEOUT_RETRIES_DEFAULT - Static variable in class com.klarna.hiverunner.config.HiveRunnerConfig
 
TIMEOUT_RETRIES_PROPERTY_NAME - Static variable in class com.klarna.hiverunner.config.HiveRunnerConfig
Number of retries for a test case that keep timing out.
TIMEOUT_SECONDS_DEFAULT - Static variable in class com.klarna.hiverunner.config.HiveRunnerConfig
 
TIMEOUT_SECONDS_PROPERTY_NAME - Static variable in class com.klarna.hiverunner.config.HiveRunnerConfig
Seconds to wait for a query to terminate before triggering the timeout.
TimeoutException - Exception in com.klarna.hiverunner
 
TimeoutException() - Constructor for exception com.klarna.hiverunner.TimeoutException
 
TimeoutException(String) - Constructor for exception com.klarna.hiverunner.TimeoutException
 
TimeoutException(String, Throwable) - Constructor for exception com.klarna.hiverunner.TimeoutException
 
TimeoutException(Throwable) - Constructor for exception com.klarna.hiverunner.TimeoutException
 
TimeoutException(String, Throwable, boolean, boolean) - Constructor for exception com.klarna.hiverunner.TimeoutException
 
tokenizer() - Method in interface com.klarna.hiverunner.sql.split.Context
 
TokenRule - Interface in com.klarna.hiverunner.sql.split
Allows the implementation of splitting rules based on specific tokens.
toString() - Method in class com.klarna.hiverunner.builder.HiveRunnerScript
 
toString() - Method in class com.klarna.hiverunner.sql.HiveRunnerStatement
 
triggers() - Method in enum com.klarna.hiverunner.sql.cli.beeline.SqlLineCommandRule
 
triggers() - Method in enum com.klarna.hiverunner.sql.split.CloseStatementRule
 
triggers() - Method in enum com.klarna.hiverunner.sql.split.DefaultTokenRule
 
triggers() - Method in enum com.klarna.hiverunner.sql.split.PreserveCommentsRule
 
triggers() - Method in enum com.klarna.hiverunner.sql.split.PreserveQuotesRule
 
triggers() - Method in interface com.klarna.hiverunner.sql.split.TokenRule
 
TsvFileParser - Class in com.klarna.hiverunner.data
A FileParser for parsing data out of a TSV file.
TsvFileParser() - Constructor for class com.klarna.hiverunner.data.TsvFileParser
 

U

UNTIL_EOL - Static variable in interface com.klarna.hiverunner.sql.split.Consumer
A Consumer that consumes tokens until the end of the line.

V

valueOf(String) - Static method in enum com.klarna.hiverunner.sql.cli.beeline.BeelineEmulator
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.klarna.hiverunner.sql.cli.beeline.SqlLineCommandRule
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in class com.klarna.hiverunner.sql.cli.CommandShellEmulatorFactory
 
valueOf(String) - Static method in enum com.klarna.hiverunner.sql.cli.DefaultPreProcessor
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.klarna.hiverunner.sql.cli.hive.HiveCliEmulator
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.klarna.hiverunner.sql.cli.hive.PreV200HiveCliEmulator
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.klarna.hiverunner.sql.split.CloseStatementRule
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.klarna.hiverunner.sql.split.DefaultTokenRule
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.klarna.hiverunner.sql.split.PreserveCommentsRule
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.klarna.hiverunner.sql.split.PreserveQuotesRule
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.klarna.hiverunner.sql.cli.beeline.BeelineEmulator
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.klarna.hiverunner.sql.cli.beeline.SqlLineCommandRule
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.klarna.hiverunner.sql.cli.DefaultPreProcessor
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.klarna.hiverunner.sql.cli.hive.HiveCliEmulator
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.klarna.hiverunner.sql.cli.hive.PreV200HiveCliEmulator
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.klarna.hiverunner.sql.split.CloseStatementRule
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.klarna.hiverunner.sql.split.DefaultTokenRule
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.klarna.hiverunner.sql.split.PreserveCommentsRule
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.klarna.hiverunner.sql.split.PreserveQuotesRule
Returns an array containing the constants of this enum type, in the order they are declared.

W

withAllColumns() - Method in class com.klarna.hiverunner.data.InsertIntoTable
Resets the column name mask to all the columns in the table.
withCharset(Charset) - Method in class com.klarna.hiverunner.data.TsvFileParser
Use the provided Charset.
withColumns(String...) - Method in class com.klarna.hiverunner.data.InsertIntoTable
Defines a subset of columns (a column name mask) so that only pertinent columns can be set.
withDelimiter(String) - Method in class com.klarna.hiverunner.data.TsvFileParser
Use the provided delimiter.
withHeader() - Method in class com.klarna.hiverunner.data.TsvFileParser
Enable if TSV file has header row.
withNullValue(Object) - Method in class com.klarna.hiverunner.data.TsvFileParser
Use the provided null value.
withoutHeader() - Method in class com.klarna.hiverunner.data.TsvFileParser
Enable if TSV file has header row.
A B C D E F G H I N O P R S T U V W 
Skip navigation links

Copyright © 2013–2020. All rights reserved.