class_docstr: Reader interface for a single ORC file
  
  Parameters
  ----------
  source : str or pyarrow.NativeFile
      Readable source. For passing Python file objects or byte buffers,
      see pyarrow.io.PythonFileInterface or pyarrow.io.BufferReader.
class_docstr_tok: ["Reader","interface","for","a","single","ORC","file","Parameters","--","--","--","--","--","source",":","str","or","pyarrow.NativeFile","Readable","source",".","For","passing","Python","file","objects","or","byte","buffers",",","see","pyarrow.io.PythonFileInterface","or","pyarrow.io.BufferReader","."]
code: def _select_names(self, columns=None):
      if columns is None:
          return None
  
      schema = self.schema
      names = []
      for col in columns:
          if isinstance(col, Integral):
              col = int(col)
              if 0 <= col < len(schema):
                  col = schema[col].name
                  names.append(col)
              else:
                  raise ValueError(
                      "Column indices must be in 0 <= ind < %d,"
                      " got %d" % (len(schema), col)
                  )
          else:
              return columns
  
      return names
  
imports: from numbers import Integral
  import warnings
  from pyarrow.lib import Table
  import pyarrow._orc
  from pyarrow.fs import _resolve_filesystem_and_path
label_desc: Use image node_id 19 for calling the ORCFile obj's underlying member method code with example usage: obj._select_names(columns) and returns: names, None, columns