Smita Kapse has Published 560 Articles

The setAtX() method of the Octet Tuple in Java

Smita Kapse

Smita Kapse

Updated on 30-Jul-2019 22:30:25

67 Views

The setAtX() method is used to set Octet value in Java. Here, X is the index wherein you need to set the value i.e. to set value at index 1, use the setAt1() and value as a parameter.Let us first see what we need to work with JavaTuples. To work ... Read More

How do I make case-insensitive queries on MongoDB?

Smita Kapse

Smita Kapse

Updated on 30-Jul-2019 22:30:25

152 Views

Use regexp to make case-insensitive queries on MongoDB. To understand the concept, let us create a collection with the document. The query to create a collection with a document is as follows −> db.caseInsensitiveDemo.insertOne({"UserName":"David"}); {    "acknowledged" : true,    "insertedId" : ObjectId("5c7f6fec8d10a061296a3c45") } > db.caseInsensitiveDemo.insertOne({"UserName":"DAVID"}); {    "acknowledged" : ... Read More

Remove function in C/C++

Smita Kapse

Smita Kapse

Updated on 30-Jul-2019 22:30:25

186 Views

The C library function int remove(const char *filename) deletes the given filename so that it is no longer accessible.Following is the declaration for remove() function.int remove(const char *filename)This function takes the filename. This is the C string containing the name of the file to be deleted. On success, zero is returned. ... Read More

How to find middle element in a linked list in android?

Smita Kapse

Smita Kapse

Updated on 30-Jul-2019 22:30:25

57 Views

This example demonstrate about How to finding middle element in a linked list in android.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.   ... Read More

Why use IBM Worklight if it ultimately uses PhoneGap for HTML support?

Smita Kapse

Smita Kapse

Updated on 30-Jul-2019 22:30:22

45 Views

IBM Worklight is a full platform for development. Many key features can be accomplished within Worklight that you will not be able to do with a PhoneGap library.PhoneGap is a software development framework by the Adobe System, which is used to develop mobile applications. To develop apps using PhoneGap, the ... Read More

Difference between MessageChannel and WebSockets in HTML5

Smita Kapse

Smita Kapse

Updated on 30-Jul-2019 22:30:22

114 Views

Web Sockets is a next-generation bidirectional communication technology for web applications that operates over a single socket and is exposed via a JavaScript interface in HTML 5 compliant browsers. Once you get a Web Socket connection with the web server, you can send data from browser to server by calling ... Read More

Can a C++ variable be both const and volatile?

Smita Kapse

Smita Kapse

Updated on 30-Jul-2019 22:30:21

1K+ Views

Yes a C++ variable be both const and volatile. It is used in situations like a read-only hardware register, or an output of another thread. Volatile means it may be changed by something external to the current thread and Const means that you do not write to it (in that ... Read More

Exporting data from SAP system to an Excel Report

Smita Kapse

Smita Kapse

Updated on 30-Jul-2019 22:30:20

593 Views

You can write an ABAP program for exporting the data from SAP and then use a remote function call which can be invoked my macro to fetch the data. Also, you can go for creating the file itself if that fits the requirement.You can also opt for SAP GUI Scripting ... Read More

Determining table or structure of an ABAP code

Smita Kapse

Smita Kapse

Updated on 30-Jul-2019 22:30:20

137 Views

abc would be a table and its line will be of type PPP. For structure, you need to code asabc TYPE PPP

Single query vs multiple queries to fetch large number of rows in SAP HANA

Smita Kapse

Smita Kapse

Updated on 30-Jul-2019 22:30:20

1K+ Views

Single query would always be better than the multiple queries. The number of rows does not impact much on performance. It is the way query is written and the data to be fetched which makes the difference. Also, the table should be indexed.

Advertisements