Is there any thing similar to sqoop that can be used in spark

I’m using sqoop import to import the data from terdata and I’m looking for any option in Spark to do the same instead of sqoop. I have seen the JDBC connnector available in the spark official site but trying that didnt work for me. Can some one help me here.