Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
BackendConfig.java
Go to the documentation of this file.
1
// Copyright 2012 Cloudera Inc.
2
//
3
// Licensed under the Apache License, Version 2.0 (the "License");
4
// you may not use this file except in compliance with the License.
5
// You may obtain a copy of the License at
6
//
7
// http://www.apache.org/licenses/LICENSE-2.0
8
//
9
// Unless required by applicable law or agreed to in writing, software
10
// distributed under the License is distributed on an "AS IS" BASIS,
11
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
// See the License for the specific language governing permissions and
13
// limitations under the License.
14
15
package
com.cloudera.impala.service;
16
24
public
class
BackendConfig
{
25
public
static
BackendConfig
INSTANCE
=
new
BackendConfig
();
26
27
// Default read block size (in bytes). This is the same as
28
// the default FLAGS_read_size used by the IO manager in the backend.
29
private
final
long
READ_SIZE
;
30
31
private
BackendConfig
() {
32
// TODO: Populate these by making calls to the backend instead of default constants.
33
READ_SIZE
= 8 * 1024 * 1024L;
34
}
35
36
public
long
getReadSize
() {
return
READ_SIZE
; }
37
}
com.cloudera.impala.service.BackendConfig
Definition:
BackendConfig.java:24
com.cloudera.impala.service.BackendConfig.READ_SIZE
final long READ_SIZE
Definition:
BackendConfig.java:29
com.cloudera.impala.service.BackendConfig.INSTANCE
static BackendConfig INSTANCE
Definition:
BackendConfig.java:25
com.cloudera.impala.service.BackendConfig.BackendConfig
BackendConfig()
Definition:
BackendConfig.java:31
com.cloudera.impala.service.BackendConfig.getReadSize
long getReadSize()
Definition:
BackendConfig.java:36
fe
src
main
java
com
cloudera
impala
service
BackendConfig.java
Generated on Thu May 7 2015 16:10:39 for Impala by
1.8.6