Example usage for org.springframework.data.domain Sort.Direction toString

List of usage examples for org.springframework.data.domain Sort.Direction toString

Introduction

In this page you can find the example usage for org.springframework.data.domain Sort.Direction toString.

Prototype

@Override
    public String toString() 

Source Link

Usage

From source file:org.oncoblocks.centromere.sql.sqlbuilder.SqlBuilder.java

public SqlBuilder orderBy(String column, Sort.Direction direction) {
    orderByClause = column + " " + direction.toString();
    return this;
}