Home >> Big Data Hadoop >> Sqoop Codegen in Big Data Hadoop

Sqoop Codegen in Big Data Hadoop

•Code gen is for object-oriented application, every database table has one DAO class that contains ‘getter’ and ‘setter’ methods to initialize objects.
•Codegen generates the DAO class automatically
 
sqoop codegen --connect jdbc:mysql://localhost:3306/userdb --driver com.mysql.jdbc.Driver --username root --table test

$ ls

test.class

test.jar

test.java

Post Your Comment

Next Questions
Sqoop job scheduling
Sqoop cron Job
Sqoop cron job example
Hive Prerequisites
Hive Installation
What is Hive
Hive MapReduce Execution
Features of Hive
Hive Architecture
Configuring Metastore of Hive
Hive vs Hadoop
Hive Create Database
Hive Internal and External Table
Hive Internal Table
Drawback of Hive Internal/Managed Table
HIve External Table
Hive DDL
Hive CLI Options
Hive shell commands
Hive Logging & Resources
Hive Types Of Joins
Hive Joins
Hive Joins cont
Hive Built-in Operators
Hive Data Types

Copyright ©2022 coderraj.com. All Rights Reserved.