Articles on Trending Technologies

Technical articles with clear explanations and examples

Use of savepoints in SAP HANA

SAP Developer
SAP Developer
Updated on 24-Feb-2020 1K+ Views

In SAP HANA database, changed data is automatically saved from memory to disk and at the interval on which it is saved is called savepoints and by default they are set to occur every five minutes. In SAP HANA, there is a persistence layer which is used to make these savepoint at regular interval. During this operation changed data is written to disk and redo logs are also saved to disk as well.The data belonging to a Savepoint tells consistent state of the data on disk and remains there until the next savepoint operation has completed. Redo log entries are ...

Read More

Setting savepoint manually in SAP HANA system

SAP Developer
SAP Developer
Updated on 24-Feb-2020 373 Views

You can run savepoint manually by executing the below command −ALTER System SAVEPOINTChecking savepoint statistics of SAP HANA

Read More

Use of Persistence layer in SAP HANA

SAP Developer
SAP Developer
Updated on 24-Feb-2020 328 Views

SAP Persistence layer is required in the following scenarios −In any database, main memory is volatile therefore data is lost during a restart or when a power outage occurs.Data needs to be stored in persisted medium.Backup & Restore is available.It ensures that the database is restored to the most recent committed state after a restart and that transaction are either completely executed or completely undone.

Read More

Using column base tables in SAP HANA Calculation view with Star Join

SAP Developer
SAP Developer
Updated on 24-Feb-2020 550 Views

It does not allow base column tables, Attribute Views or Analytic views to add at data foundation. All Dimension tables must be changed to Dimension Calculation views to use in Star Join. All Fact tables can be added and can use default nodes in Calculation View.For more details, you can refer our tutorial link −https://www.tutorialspoint.com/sap_hana/sap_hana_calculation_view.htmYou have four tables, two Dim tables, and two Fact tables. You have to find list of all employees with their Joining date, Emp Name, empId, Salary and Bonus.This can be achieved using Calculation view with Star Join. You need to convert column based tables to ...

Read More

Changing language in Text join in SAP HANA

SAP Developer
SAP Developer
Updated on 24-Feb-2020 660 Views

To change the language, go to Additional Properties tab in Database user logon and change the language as shown below −

Read More

Using Text join in SAP HANA Modeling

SAP Developer
SAP Developer
Updated on 24-Feb-2020 464 Views

To create an Attribute view, you have to navigate to Content tab → Package → New → Attribute ViewYou can select any of view type to implement a Text join in HANA.Add both the tables to Data Foundation and in Join type select Text join as shown below −Next is to save and activate Attribute view and text join is used.

Read More

StackWalker API in Java 9?

raja
raja
Updated on 24-Feb-2020 827 Views

StackWalker API allows easy filtering and lazy access to execute tasks within any method. It is an efficient API for obtaining stack trace information in Java 9.There are three new important classes in StackWalker API: StackWalker, StackWalker.StackFrame and StackWalker.Option.StackWalker − It is the main class in StackWalker API. We traverse stack frames by using StackWalker.forEach() method and get caller class in an efficient way by calling StackWalker.getCallerClass() method. We walk through stack traces and applying a function on a stream of stack frames by using StackWalker.walk() method.StackWalker.StackFrame − It is a static nested class of StackWalker and represents method invocation ...

Read More

java access modifiers with method overriding

Giri Raju
Giri Raju
Updated on 24-Feb-2020 6K+ Views

Yes, an overridden method can have a different access modifier but it cannot lower the access scope.The following rules for inherited methods are enforced -Methods declared public in a superclass also must be public in all subclasses.Methods declared protected in a superclass must either be protected or public in subclasses; they cannot be private.Methods declared private are not inherited at all, so there is no rule for them.

Read More

Member variables vs Local variables in Java

Vikyath Ram
Vikyath Ram
Updated on 24-Feb-2020 2K+ Views

Local VariableLocal variables are declared in methods, constructors, or blocks.Local variables are created when the method, constructor or block is entered and the variable will be destroyed once it exits the method, constructor, or block.Access modifiers cannot be used for local variables.Local variables are visible only within the declared method, constructor, or block.Local variables are implemented at stack level internally.There is no default value for local variables, so local variables should be declared and an initial value should be assigned before the first use.Instance/Member VariableInstance variables are declared in a class, but outside a method, constructor or any block.When a ...

Read More

Differences between takewhile() and dropWhile() methods in Java 9?

raja
raja
Updated on 21-Feb-2020 3K+ Views

The takewhile() method of Stream API accepts all values until predicate returns false whereas dropWhile() method of Stream API drops all values until it matches the predicate. If a stream is ordered, the takewhile() method returns a stream consisting of the longest prefix of elements taken from this stream that matches predicate whereas the dropWhile() method returns the remaining stream after matching predicate. If the stream is unordered, the takewhile() method returns a stream consisting of a subset of elements extracted from a stream that matches the given predicate whereas the dropWhile() method returns a stream consisting of the remaining ...

Read More
Showing 54841–54850 of 61,297 articles
Advertisements