Thursday, 13 April 2023

Java IO Stream Hierarchy & All Java Packages Hierarchy


In this post I would like you to understand and gain knowledge by yourself  of  all Java packages hierarchy . you just need to follow me and do these steps.

  • The first step, You must navigate to the Java API
  • Second step, Search for any package you want to see the hierarchy. In this post I would like to provide java.io package hierarchy
  • Finally, just click on TREE tab on the API page which you can see on upper toolbar of the page

I would like you to start above step by this link   java.io Class Hierarchy (Java SE 9 & JDK 9 ) (oracle.com)


Here is the hierarchy java.io package

Class Hierarchy

Interface Hierarchy

Enum Hierarchy






Here are the list of few package you go ahead and check the hierarchy



If you enjoyed this post, I’d be very grateful if you’d help it spread by emailing it to a friend, or sharing it on Twitter or Facebook. Thank you



Sunday, 15 August 2021

How to load incremetal data into hive table without having date column in data?

At the end of this article you will learn in HIVE how we can load incremental data where as data does not contain DATE column in it.

Hive does not support fully row level updates. it has certain limitaion to do with row level updates

In every project we do incremental updates but to achive  this in Hive we have to follow these steps.

scenario :  
Assume Target table TableA has 50 records with ids from 1,2,3,.....to 50

Incremental table TableB has 10 records where as 5 new records and 5 updated records with ids 1,2,3,4,5,51,52,53,54,55

here we need to load TableB into TableA but the condition here is there should not be any duplicates in target table.

To achieve above you have to find the records which are belongs to the only target table TableA records first. it means you have to get the records of id'with only 6,7,8.....50 then you have to union the Table B so that you are loading data with only Target TableB+TableA into target table
















If you are facing any problems in loading incremental data into hive then please comment here