Package com.gpudb.filesystem.ingest
Class TableCreationOptions
java.lang.Object
com.gpudb.filesystem.ingest.TableCreationOptions
Method Summary
Modifier and TypeMethodDescriptionGets the list of foreign keysGets the foreign shard keyThis method returns a Map of String to String carrying all the options that have been set by the user.Gets the list of partition definitionsGets the list of partition keysGets the value of ‘partitionType’ used for table creationintgetTtl()Gets the value of ‘ttl’ for the tableGets the type ID set for table creation.booleanGets whether the partiion is automatic or notbooleanGets the value of ‘noErrorIfExists’booleanGets the value of ‘isReplicated’booleanGets whether the table is a result table or notvoidOne of the four overloaded methods based on varying data types for setting options not already exposed through the other setter methods as documented here.voidOne of the four overloaded methods based on varying data types for setting options not already exposed through the other setter methods as documented here.voidOne of the four overloaded methods based on varying data types for setting options not already exposed through the other setter methods as documented here.voidOne of the four overloaded methods based on varying data types for setting options not already exposed through the other setter methods as documented here.setAutomaticPartition(boolean automaticPartition) Sets the value of ‘automaticPartition’setForeignKeys(List<String> foreignKeys) Sets the list of foreign keyssetForeignShardKey(String foreignShardKey) Sets the foreign shard key valuesetNoErrorIfExists(boolean noErrorIfExists) Sets the value of ‘noErrorIfExists’ A truthy value indicates that no error will be thrown if there is an attempt to re-create an already existent table and false otherwise.setPartitionDefinitions(List<String> partitionDefinitions) Sets the list of partition definitionssetPartitionKeys(List<String> partitionKeys) Sets the list of partition keyssetPartitionType(PartitionType partitionType) Sets the parition type value used for table creationsetReplicated(boolean replicated) Sets the value of ‘replicated’ indicating whether the table to be created will be a replicated table or not.setResultTable(boolean resultTable) Sets the value of ‘resultTable’ indicating whether this table is a result table or notsetTtl(int ttl) Sets the ‘ttl’ value for the tableSets the type ID for the table
Method Details
setForeignKeys
Sets the list of foreign keysParameters:foreignKeys- - A list of strings specifying the foreign keysReturns:- ThisTableCreationOptionsobjectSee Also:setPartitionKeys
Sets the list of partition keysParameters:partitionKeys- - A list of partition ksysReturns:- ThisTableCreationOptionsobjectSee Also: