Which are the four static methods of SQLContext?

Below are the four static methods in SQLContext:-
GetConnection() :- This will return the current connection
GetCommand() :- Get reference to the current batch
GetTransaction():- If you have used transactions this will get the current transaction
GetPipe() :- This helps us to send results to client.
The output is in Tabular Data stream format. Using this method you can fill in datareader or data set, which can later be used by client to display data.

0 comments:

Post a Comment

Blogger news